made sure to sort the files in the comic before indexing.

This commit is contained in:
2015-06-18 22:46:19 +01:00
parent 02494bf9eb
commit 4c3d75916f

View File

@@ -143,7 +143,7 @@ def process_comic_book(base_dir, comic_path, comic_file_name):
last_read_page=0)
book.save()
i = 0
for f in cbx.namelist():
for f in sorted(cbx.namelist()):
ext = f.lower()[-3:]
if ext in ['jpg', 'jpeg']:
page = ComicPage(Comic=book,