diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index e72d911..31e1e8f 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -424,6 +424,7 @@ def buildEPUB(path, chapterNames, tomeNumber): f.close() for (dirpath, dirnames, filenames) in walk(os.path.join(path, 'OEBPS', 'Images')): chapter = False + filenames.sort() for afile in filenames: filename = getImageFileName(afile) if '-kcc-hq' not in filename[0]: