From 3bd0dbfd24c7daeb3960aef10bbc4dc76d41d6cf Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sun, 19 Sep 2021 23:35:51 +0200 Subject: [PATCH] Forgot to encode bytes read from file into string. --- bootstrap/socInstaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/socInstaller.py b/bootstrap/socInstaller.py index 86867ff0..74c3030f 100755 --- a/bootstrap/socInstaller.py +++ b/bootstrap/socInstaller.py @@ -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)