move cmdline option conversion to dbus format to optionparse

This commit is contained in:
Matt Rose 2020-08-28 16:55:14 -04:00
parent c04b6aeb87
commit 75d68b8d2b
1 changed files with 0 additions and 7 deletions

View File

@ -95,13 +95,6 @@ if __name__ == '__main__':
# (the -x argument for example)
if OPTIONS.working_directory is None:
OPTIONS.working_directory = ORIGCWD
optionslist = {}
for opt, val in list(OPTIONS.__dict__.items()):
if type(val) == type([]):
val = ' '.join(val)
if val == True:
val = 'True'
optionslist[opt] = val and '%s'%val or ''
optionslist = dbus.Dictionary(dbus_options, signature='ss')
if OPTIONS.new_tab:
dbg('Requesting a new tab')