Remote control: Better handle unknown types

there is no corresponding GLib.Variant for None,
use conversion to string as workaround
This commit is contained in:
André Apitzsch 2018-09-17 00:28:38 +02:00 committed by Philipp Hörist
parent 8e5d3102cf
commit 0d858180df
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def get_dbus_struct(obj):
result.insert_value(key, get_dbus_struct(value)) result.insert_value(key, get_dbus_struct(value))
return result.end() return result.end()
# unknown type # unknown type
return None return GLib.Variant('s', str(obj))
class Server: class Server: