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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user