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:
2011-12-29 21:43:12 +01:00
parent abdcc0f201
commit f12f7e7b47

View File

@ -76,7 +76,7 @@ if __name__ == '__main__':
val = ' '.join(val)
if val == True:
val = 'True'
optionslist[opt] = val or ''
optionslist[opt] = val and '%s'%val or ''
optionslist = dbus.Dictionary(optionslist, signature='ss')
ipc.new_window(optionslist)
sys.exit()