mirror of
https://github.com/ciromattia/kcc
synced 2026-05-29 18:53:07 +00:00
@@ -424,6 +424,7 @@ def buildEPUB(path, chapterNames, tomeNumber):
|
|||||||
f.close()
|
f.close()
|
||||||
for (dirpath, dirnames, filenames) in walk(os.path.join(path, 'OEBPS', 'Images')):
|
for (dirpath, dirnames, filenames) in walk(os.path.join(path, 'OEBPS', 'Images')):
|
||||||
chapter = False
|
chapter = False
|
||||||
|
filenames.sort()
|
||||||
for afile in filenames:
|
for afile in filenames:
|
||||||
filename = getImageFileName(afile)
|
filename = getImageFileName(afile)
|
||||||
if '-kcc-hq' not in filename[0]:
|
if '-kcc-hq' not in filename[0]:
|
||||||
|
|||||||
Reference in New Issue
Block a user