Fix Py3 utf-8 encode error

This commit is contained in:
Zen-CODE 2017-10-31 09:00:50 +02:00
parent 3a93783aa8
commit 3771bf46c2

View file

@ -311,7 +311,7 @@ class Buildozer(object):
ret_stdout.append(chunk)
if show_output:
if IS_PY3:
stdout.write(chunk.decode('utf-8'))
stdout.write(str(chunk))
else:
stdout.write(chunk)
if fd_stderr in readx: