Skip to content

Commit

Permalink
fix #464
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Sep 6, 2023
1 parent f14d8be commit 61b7473
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/chain/subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,9 @@ def __get_subscribe_no_exits(no_exists: Dict[int, Dict[int, NotExistMediaInfo]],
# 没有自定义总集数
total_episode = total
# 新的集列表
episodes = list(range(max(start_episode, start), total_episode + 1))

new_episodes = list(range(max(start_episode, start), total_episode + 1))
# 与原集列表取交集
episodes = list(set(episode_list).intersection(set(new_episodes)))
# 更新集合
no_exists[tmdb_id][begin_season] = NotExistMediaInfo(
season=begin_season,
Expand Down

0 comments on commit 61b7473

Please sign in to comment.