mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 10:21:19 +02:00
sort #10
This commit is contained in:
parent
a47359f411
commit
0ee000edeb
@ -49,6 +49,8 @@ def main():
|
||||
|
||||
doujinshi_dir = os.path.join(options.output_dir, str(doujinshi.id))
|
||||
file_list = os.listdir(doujinshi_dir)
|
||||
file_list.sort()
|
||||
|
||||
for index, image in enumerate(file_list):
|
||||
try:
|
||||
next_ = file_list[file_list.index(image) + 1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user