changeset ee9eefe5ed53 in /home/hg/repos/gajim

branches: 
details:http://hg.gajim.org/gajim?cmd=changeset;node=ee9eefe5ed53
description: Decode shell output befor send message. Fixes #7407

diffstat:

 src/command_system/implementation/execute.py |  2 +-
 1 файлов изменено, 1 вставок(+), 1 удалений(-)

различия (11 строк):

diff -r 08bd2e70fc10 -r ee9eefe5ed53 
src/command_system/implementation/execute.py
--- a/src/command_system/implementation/execute.py      Fri Aug 02 11:44:15 
2013 +0200
+++ b/src/command_system/implementation/execute.py      Sun Aug 04 19:17:55 
2013 +0400
@@ -115,6 +115,6 @@
         stdout, stderr = cls.fetch(popen)
         success = popen.returncode == 0
         if success and stdout:
-            processor.send(stdout)
+            processor.send(stdout.decode('utf8'))
         elif not success and stderr:
             processor.echo_error(stderr)
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to