Fixed infinite loop
This commit is contained in:
1 parent
46034b0629
commit
b5e08df5d3
1 file changed
+1
@@ -337,6 +337,7 @@ def dirImgProcess(path):
|
||||
if getImageFileName(afile) is not None:
|
||||
pagenumber += 1
|
||||
work.append([afile, dirpath, pagenumber, options])
|
||||
if len(work) > 0:
|
||||
splitpages = pool.map(fileImgProcess, work)
|
||||
pool.close()
|
||||
pool.join()
|
||||
|
||||
Reference in new issue
Block a user