Fixes the cwd of a second instance launched by exo-open/Thunar
This commit is contained in:
parent
1d63446d03
commit
8f67c229b1
|
@ -89,6 +89,8 @@ if __name__ == '__main__':
|
||||||
# get rid of the None and True types so dbus can handle them (empty
|
# get rid of the None and True types so dbus can handle them (empty
|
||||||
# and 'True' strings are used instead), also arrays are joined
|
# and 'True' strings are used instead), also arrays are joined
|
||||||
# (the -x argument for example)
|
# (the -x argument for example)
|
||||||
|
if OPTIONS.working_directory is None:
|
||||||
|
OPTIONS.working_directory = ORIGCWD
|
||||||
optionslist = {}
|
optionslist = {}
|
||||||
for opt, val in OPTIONS.__dict__.items():
|
for opt, val in OPTIONS.__dict__.items():
|
||||||
if type(val) == type([]):
|
if type(val) == type([]):
|
||||||
|
|
Loading…
Reference in New Issue