From eab416df3f177b12bfa584c409bd16e06d7e3871 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 18 Sep 2017 14:46:29 +0200 Subject: [PATCH] [bugfix] reset stdout in Worker --- pylot/core/util/thread.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylot/core/util/thread.py b/pylot/core/util/thread.py index 64635044..8a3f351a 100644 --- a/pylot/core/util/thread.py +++ b/pylot/core/util/thread.py @@ -138,6 +138,7 @@ class Worker(QRunnable): self.signals.result.emit(result) finally: self.signals.finished.emit('Done') + sys.stdout = sys.__stdout__ def write(self, text): self.signals.message.emit(text)