add a missing decode in LogPipe class

This commit is contained in:
Kay0u 2021-09-17 13:52:53 +02:00
parent 08f7866f77
commit fdc61c915c
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -121,7 +121,7 @@ class LogPipe(threading.Thread):
def run(self):
"""Run the thread, logging everything."""
for line in iter(self.pipeReader.readline, ""):
self.queue.put((self.log_callback, line.strip("\n")))
self.queue.put((self.log_callback, line.decode('utf-8').strip("\n")))
self.pipeReader.close()