diff --git a/moulinette/utils/process.py b/moulinette/utils/process.py index 6b60c304..95b7dce9 100644 --- a/moulinette/utils/process.py +++ b/moulinette/utils/process.py @@ -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()