Skip to content
Snippets Groups Projects
Commit 57d4ddcd authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Commandline args are always type str in Python3

Fixes #8970
parent abdca0ea
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment