diff options
| author | Paweł Jastrzębski <[email protected]> | 2014-08-02 07:54:15 +0200 |
|---|---|---|
| committer | Paweł Jastrzębski <[email protected]> | 2014-08-02 07:54:15 +0200 |
| commit | 37aa84c4aa86592483b30df1dbd56818096a3d4b (patch) | |
| tree | 241dd9a4b30f9e6ed5cce686678b6b5cb25caca2 | |
| parent | Replaced margin color detection algorithm (diff) | |
| download | kcc-37aa84c4aa86592483b30df1dbd56818096a3d4b.tar.gz kcc-37aa84c4aa86592483b30df1dbd56818096a3d4b.tar.bz2 kcc-37aa84c4aa86592483b30df1dbd56818096a3d4b.zip | |
Fixed MOBI processing anomalies
| -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 |