[bugfix] reset stdout in Worker

This commit is contained in:
Marcel Paffrath 2017-09-18 14:46:29 +02:00
parent 0949a6deac
commit eab416df3f

View File

@ -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)