]> granicus.if.org Git - handbrake/commitdiff
make: decode bytes objects from subprocess stdout in configure.py Launcher class...
authorAndrew Brezovsky <abrezovsky@gmail.com>
Fri, 29 Mar 2019 01:28:02 +0000 (21:28 -0400)
committerAndrew Brezovsky <abrezovsky@gmail.com>
Fri, 29 Mar 2019 01:28:02 +0000 (21:28 -0400)
Signed-off-by: Andrew Brezovsky <abrezovsky@gmail.com>
make/configure.py

index f132b9ec46212fa6fe8cb1bc3d241fd5df3e790f..bd95855150a9bc8e05f53eca60be28239020ba4f 100644 (file)
@@ -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()