From: Andrew Brezovsky Date: Fri, 29 Mar 2019 01:28:02 +0000 (-0400) Subject: make: decode bytes objects from subprocess stdout in configure.py Launcher class... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2ee6cc73f1a436a056aceef0d34fee68e5ad4b0;p=handbrake make: decode bytes objects from subprocess stdout in configure.py Launcher class, resolves #2011 Signed-off-by: Andrew Brezovsky --- diff --git a/make/configure.py b/make/configure.py index f132b9ec4..bd9585515 100644 --- a/make/configure.py +++ b/make/configure.py @@ -1427,6 +1427,8 @@ class Launcher: except Exception as x: cfg.errln( 'launch failure: %s', x ) for line in pipe.stdout: + if not isinstance(line, str): + line = line.decode() self.echof( '%s', line ) pipe.wait()