1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

fix cbz split

This commit is contained in:
Alex Xu
2025-07-27 16:55:09 -07:00
parent cc01dc611a
commit a63d9e3ad0

View File

@@ -1491,7 +1491,7 @@ def makeBook(source, qtgui=None):
imgDirectoryProcessing(os.path.join(path, "OEBPS", "Images")) imgDirectoryProcessing(os.path.join(path, "OEBPS", "Images"))
if GUI: if GUI:
GUI.progressBarTick.emit('1') GUI.progressBarTick.emit('1')
if options.batchsplit > 0: if options.batchsplit > 0 or options.targetsize:
tomes = chunk_directory(path) tomes = chunk_directory(path)
else: else:
tomes = [path] tomes = [path]