qa: Log as utf-8

This commit is contained in:
MarcoFalke
2018-06-11 16:25:44 -04:00
parent 3d3d8ae3a0
commit fa8071a098
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ def get_log_events(source, logfile):
Log events may be split over multiple lines. We use the timestamp
regex match as the marker for a new log event."""
try:
with open(logfile, 'r') as infile:
with open(logfile, 'r', encoding='utf-8') as infile:
event = ''
timestamp = ''
for line in infile: