mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +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)
|
last_read_page=0)
|
||||||
book.save()
|
book.save()
|
||||||
i = 0
|
i = 0
|
||||||
for f in cbx.namelist():
|
for f in sorted(cbx.namelist()):
|
||||||
ext = f.lower()[-3:]
|
ext = f.lower()[-3:]
|
||||||
if ext in ['jpg', 'jpeg']:
|
if ext in ['jpg', 'jpeg']:
|
||||||
page = ComicPage(Comic=book,
|
page = ComicPage(Comic=book,
|
||||||
|
|||||||
Reference in New Issue
Block a user