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