From ffaa780c077bb0a19236ef2aac55296723800a4f Mon Sep 17 00:00:00 2001 From: Guido Serra Date: Wed, 14 Aug 2019 18:01:13 +0200 Subject: [PATCH] we were getting a bytes obj --- wicd/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/misc.py b/wicd/misc.py index f2439e1..207213f 100644 --- a/wicd/misc.py +++ b/wicd/misc.py @@ -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.