mirror of
https://github.com/ciromattia/kcc
synced 2026-10-20 00:12:34 +00:00
Fixed infinite loop
This commit is contained in:
@@ -337,6 +337,7 @@ def dirImgProcess(path):
|
|||||||
if getImageFileName(afile) is not None:
|
if getImageFileName(afile) is not None:
|
||||||
pagenumber += 1
|
pagenumber += 1
|
||||||
work.append([afile, dirpath, pagenumber, options])
|
work.append([afile, dirpath, pagenumber, options])
|
||||||
|
if len(work) > 0:
|
||||||
splitpages = pool.map(fileImgProcess, work)
|
splitpages = pool.map(fileImgProcess, work)
|
||||||
pool.close()
|
pool.close()
|
||||||
pool.join()
|
pool.join()
|
||||||
|
|||||||
Reference in New Issue
Block a user