From 3771bf46c298f43bfba2b1f660f60d8487a20fa5 Mon Sep 17 00:00:00 2001 From: Zen-CODE Date: Tue, 31 Oct 2017 09:00:50 +0200 Subject: [PATCH] Fix Py3 utf-8 encode error --- buildozer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildozer/__init__.py b/buildozer/__init__.py index 35d93ee..41e75c4 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -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: