Fixes the cwd of a second instance launched by exo-open/Thunar

This commit is contained in:
Stephen Boddy 2017-02-06 08:43:44 +01:00
parent 1d63446d03
commit 8f67c229b1

View File

@ -89,6 +89,8 @@ if __name__ == '__main__':
# get rid of the None and True types so dbus can handle them (empty
# and 'True' strings are used instead), also arrays are joined
# (the -x argument for example)
if OPTIONS.working_directory is None:
OPTIONS.working_directory = ORIGCWD
optionslist = {}
for opt, val in OPTIONS.__dict__.items():
if type(val) == type([]):