diff options
Diffstat (limited to 'pyside_postinstall.py')
-rw-r--r-- | pyside_postinstall.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyside_postinstall.py b/pyside_postinstall.py index ec8146aba..a10aef789 100644 --- a/pyside_postinstall.py +++ b/pyside_postinstall.py @@ -78,6 +78,9 @@ def back_tick(cmd, ret_err=False): """
proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True)
out, err = proc.communicate()
+ if not isinstance(out, str):
+ # python 3
+ out = out.decode()
retcode = proc.returncode
if retcode is None:
proc.terminate()
|