Skip to content

Commit

Permalink
Merge pull request #270 from mattrose/issue262
Browse files Browse the repository at this point in the history
pass original working directory to dbus_options as well
  • Loading branch information
mattrose authored Oct 30, 2020
2 parents e9ee7d4 + 1d8a7f2 commit 2af4e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminator
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ if __name__ == '__main__':
dbg ("%s starting up, version %s" % (APP_NAME, APP_VERSION))

OPTIONS,dbus_options = terminatorlib.optionparse.parse_options()

if OPTIONS.configjson:
configjson = ConfigJson()
layoutname = configjson.extend_config(OPTIONS.configjson)
Expand Down Expand Up @@ -104,6 +103,7 @@ if __name__ == '__main__':
# (the -x argument for example)
if OPTIONS.working_directory is None:
OPTIONS.working_directory = ORIGCWD
dbus_options['working_directory'] = ORIGCWD
optionslist = dbus.Dictionary(dbus_options, signature='ss')
if OPTIONS.new_tab:
dbg('Requesting a new tab')
Expand Down

0 comments on commit 2af4e65

Please sign in to comment.