From 57d4ddcd578b406ec445b9ce158d23ce8860d975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 21 Mar 2018 19:17:15 +0100 Subject: [PATCH] Commandline args are always type str in Python3 Fixes #8970 --- gajim/gajim_remote.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gajim/gajim_remote.py b/gajim/gajim_remote.py index bfde235e5..9079d422f 100644 --- a/gajim/gajim_remote.py +++ b/gajim/gajim_remote.py @@ -480,8 +480,7 @@ class GajimRemote: """ Calls self.method with arguments from sys.argv[2:] """ - args = [i.decode(PREFERRED_ENCODING) for i in self.arguments] - args = [dbus.String(i) for i in args] + args = [dbus.String(i) for i in self.arguments] try: res = self.method(*args) return res