summaryrefslogtreecommitdiff
path: root/lorrycontroller/gitano.py
diff options
context:
space:
mode:
Diffstat (limited to 'lorrycontroller/gitano.py')
-rw-r--r--lorrycontroller/gitano.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lorrycontroller/gitano.py b/lorrycontroller/gitano.py
index d0d1a0c..b5b860c 100644
--- a/lorrycontroller/gitano.py
+++ b/lorrycontroller/gitano.py
@@ -91,6 +91,9 @@ class GitanoCommand(object):
exit, stdout, stderr = cliapp.runcmd_unchecked(
base_argv + quoted_args)
+ if isinstance(stdout, bytes):
+ stdout = stdout.decode('utf-8', errors='replace')
+ stderr = stderr.decode('utf-8', errors='replace')
if exit != 0:
logging.error(