Decode shell output befor send message. Fixes #7407

This commit is contained in:
Denis Fomin 2013-08-04 19:17:55 +04:00
parent 08e4ba2ce7
commit 3f70a045f3
1 changed files with 1 additions and 1 deletions

View File

@ -115,6 +115,6 @@ class Show(Execute):
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)