Forgot to encode bytes read from file into string.

This commit is contained in:
Jean-Paul Chaput 2021-09-19 23:35:51 +02:00
parent 02777e127e
commit 3bd0dbfd24
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ class Report ( object ):
pass
tailLines = ''
for line in fd.readlines()[1:]:
tailLines += line
tailLines += line.decode( 'latin_1' )
fd.close()
self.mainText += ' "{}"\n'.format(logFile)