1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-03 11:59:32 +00:00

Merge pull request #128 from fsteffek/dev

Fixed first file detection
This commit is contained in:
Paweł Jastrzębski
2015-02-20 10:01:34 +01:00

View File

@@ -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]: