fixed utils.cmd_output to utf-8
This commit is contained in:
parent
597bd21994
commit
c9baf66f3d
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ def cmd_output(args):
|
|||
p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
stdout, _ = p.communicate()
|
||||
status = p.wait()
|
||||
return status, stdout.strip()
|
||||
return status, stdout.decode("utf-8").strip()
|
||||
except OSError:
|
||||
raise CoreCommandError(-1, args)
|
||||
|
||||
|
|
Loading…
Reference in a new issue