mirror of
https://github.com/ciromattia/kcc
synced 2026-06-28 09:14:07 +00:00
Fixed tiny bugs
This commit is contained in:
+1
-1
@@ -506,7 +506,7 @@ class WorkerThread(QtCore.QThread):
|
|||||||
self.pool.waitForDone()
|
self.pool.waitForDone()
|
||||||
sleep(0.5)
|
sleep(0.5)
|
||||||
for success in self.workerOutput:
|
for success in self.workerOutput:
|
||||||
if not success:
|
if not success[0]:
|
||||||
self.errors = True
|
self.errors = True
|
||||||
break
|
break
|
||||||
if not self.errors:
|
if not self.errors:
|
||||||
|
|||||||
+1
-1
@@ -140,7 +140,7 @@ class DualMobiMetaFix:
|
|||||||
self.datain = open(infile, 'rb').read()
|
self.datain = open(infile, 'rb').read()
|
||||||
self.datain_rec0 = readsection(self.datain, 0)
|
self.datain_rec0 = readsection(self.datain, 0)
|
||||||
# noinspection PyArgumentList
|
# noinspection PyArgumentList
|
||||||
self.asin = bytes(uuid4(), 'UTF-8')
|
self.asin = bytes(str(uuid4()), 'UTF-8')
|
||||||
|
|
||||||
# in the first mobi header
|
# in the first mobi header
|
||||||
# add 501 to "EBOK", add 113 as asin, add 504 as asin
|
# add 501 to "EBOK", add 113 as asin, add 504 as asin
|
||||||
|
|||||||
Reference in New Issue
Block a user