Philipp Hörist pushed to branch master at gajim / gajim

Commits:
57d4ddcd by Philipp Hörist at 2018-03-21T19:17:15+01:00
Commandline args are always type str in Python3

Fixes #8970

- - - - -


1 changed file:

- gajim/gajim_remote.py


Changes:

=====================================
gajim/gajim_remote.py
=====================================
--- 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



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/57d4ddcd578b406ec445b9ce158d23ce8860d975

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/57d4ddcd578b406ec445b9ce158d23ce8860d975
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to