Skip to content

Commit

Permalink
Merge pull request #236 from chris-allan/fix-path-py-encoding
Browse files Browse the repository at this point in the history
Error handling when attempting to check log files
  • Loading branch information
joshmoore committed Jul 30, 2020
2 parents e43057e + 124e2c2 commit fa8d3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ def _exists(self, p):
r'error:?\s')
warn = 0
err = 0
for l in p.lines():
for l in p.lines(errors="surrogateescape"):
# ensure errors/warnings search is case-insensitive
lcl = l.lower()
if re.match(warn_regex, lcl):
Expand Down

0 comments on commit fa8d3b9

Please sign in to comment.