forked from M-Labs/artiq
1
0
Fork 0

artiq_devtool: don't crash on invalid utf-8.

This commit is contained in:
whitequark 2016-11-21 04:27:16 +00:00
parent b562b0fbc4
commit 06ea76336d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ def main():
char = chan.read(1) char = chan.read(1)
if char == b"": if char == b"":
break break
sys.stderr.write(char.decode("utf-8")) sys.stderr.write(char.decode("utf-8", errors='replace'))
for action in args.actions: for action in args.actions:
if action == "build": if action == "build":