Skip to content

Commit

Permalink
verifier.py: ignore non-utf8 characters
Browse files Browse the repository at this point in the history
these could get here from program's output, see staticafi#180
  • Loading branch information
tomsik68 committed Nov 19, 2020
1 parent 4483e58 commit f847b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/symbioticpy/symbiotic/verifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def parse(self, line):
sys.stderr.write(str(line.strip()))
sys.stderr.write('\n')
else:
dbg(line.decode('utf-8'), 'all', print_nl=False,
dbg(line.decode('utf-8', errors='ignore'), 'all', print_nl=False,
prefix='', color=None)

class SymbioticVerifier(object):
Expand Down

0 comments on commit f847b76

Please sign in to comment.