mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
made sure to sort the files in the comic before indexing.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user