diff options
| -rw-r--r-- | kcc/KCC_gui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 8cf5c3b..b798c6c 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -491,6 +491,8 @@ class WorkerThread(QtCore.QThread): worker.signals.result.connect(self.addResult) self.pool.start(worker) self.pool.waitForDone() + while len(self.workerOutput) != len(outputPath): + sleep(0.1) self.kindlegenErrorCode = [0] for errors in self.workerOutput: if errors[0] != 0: @@ -517,6 +519,8 @@ class WorkerThread(QtCore.QThread): worker.signals.result.connect(self.addResult) self.pool.start(worker) self.pool.waitForDone() + while len(self.workerOutput) != len(outputPath): + sleep(0.1) for success in self.workerOutput: if not success[0]: self.errors = True |