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