From 86123f80f755385ba3c064e652345f640b2c9744 Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Fri, 11 Jan 2019 08:25:14 +0100 Subject: [PATCH] python3: decode the stdout stream --- configtool/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configtool/build.py b/configtool/build.py index e31b31f..17d3d93 100644 --- a/configtool/build.py +++ b/configtool/build.py @@ -126,7 +126,7 @@ class ScriptThread: return obuf = "" while not self.cancelled: - o = p.stdout.read(1) + o = p.stdout.read(1).decode("utf-8", "ignore") if o == "": break if o == "\r" or o == "\n":