1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 23:22:27 +01:00

we were getting a bytes obj

This commit is contained in:
Guido Serra
2019-08-14 18:01:13 +02:00
parent 364db09a6e
commit ffaa780c07

View File

@@ -163,7 +163,7 @@ def Run(cmd, include_stderr=False, return_pipe=False,
if return_pipe:
return f.stdout
else:
return f.communicate()[0]
return f.communicate()[0].decode()
def LaunchAndWait(cmd):
""" Launches the given program with the given arguments, then blocks.