Commit f7209c91 authored by Denis Bilenko's avatar Denis Bilenko

util.py: ignore decoding errors

parent 23d55f92
......@@ -188,7 +188,7 @@ def run(command, **kwargs):
assert not err
with lock:
if out:
out = out.strip().decode()
out = out.strip().decode('utf-8', 'ignore')
if out:
out = ' ' + out.replace('\n', '\n ')
out = out.rstrip()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment