mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
add a missing decode in LogPipe class
This commit is contained in:
parent
08f7866f77
commit
fdc61c915c
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue