From c7c74998f23dae88479e46bd02ce8ee677f1313f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Mon, 17 Sep 2018 00:28:38 +0200 Subject: [PATCH] Remote control: Better handle unknown types there is no corresponding GLib.Variant for None, use conversion to string as workaround --- gajim/remote_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/remote_control.py b/gajim/remote_control.py index fecf31ba6..d772fa51b 100644 --- a/gajim/remote_control.py +++ b/gajim/remote_control.py @@ -62,7 +62,7 @@ def get_dbus_struct(obj): result.insert_value(key, get_dbus_struct(value)) return result.end() # unknown type - return None + return GLib.Variant('s', str(obj)) class Server: