Added a little transformatios to make sure all the parameters of the config are
passed to string before calling the dbus method (integers for example).
This commit is contained in:
parent
abdcc0f201
commit
f12f7e7b47
|
@ -76,7 +76,7 @@ if __name__ == '__main__':
|
||||||
val = ' '.join(val)
|
val = ' '.join(val)
|
||||||
if val == True:
|
if val == True:
|
||||||
val = 'True'
|
val = 'True'
|
||||||
optionslist[opt] = val or ''
|
optionslist[opt] = val and '%s'%val or ''
|
||||||
optionslist = dbus.Dictionary(optionslist, signature='ss')
|
optionslist = dbus.Dictionary(optionslist, signature='ss')
|
||||||
ipc.new_window(optionslist)
|
ipc.new_window(optionslist)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Reference in New Issue