Merge pull request #582 from kivy/unicode_fix

Fix Py3 utf-8 encode error
This commit is contained in:
Mathieu Virbel 2017-12-15 16:20:42 +01:00 committed by GitHub
commit 7a41562038
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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