Skip to content

Commit

Permalink
sort extrafanart first
Browse files Browse the repository at this point in the history
  • Loading branch information
glyh committed Apr 16, 2024
1 parent 26945e0 commit 82fa4cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JavSP.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ def check_step(result, msg='步骤错误'):
if movie.info.preview_pics:
extrafanartdir = movie.save_dir + '/extrafanart'
os.mkdir(extrafanartdir)
movie.info.preview_pics = sorted(movie.info.preview_pics)
print(movie.info.preview_pics)
for (id, pic_url) in enumerate(movie.info.preview_pics):
inner_bar.set_description(f"下载剧照{id}")

Expand Down

0 comments on commit 82fa4cc

Please sign in to comment.