[bugfix] reset stdout in Worker
This commit is contained in:
parent
0949a6deac
commit
eab416df3f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user