Commit d860ad4e authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

wip

parent c46ba4e0
......@@ -79,7 +79,8 @@ def subprocess_capture(p, log_prefix, get_output=True):
break
if get_output:
buffer.append(data)
log(log_prefix + data.decode('utf-8', errors='replace').rstrip('\n'))
log(log_prefix + data if str is bytes else
data.decode('utf-8', errors='replace').rstrip('\n'))
Please register or sign in to reply
if p.stdout:
stdout = []
stdout_thread = threading.Thread(target=readerthread,
......
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