Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Jul 24, 2023
1 parent d56eb14 commit eeee024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/filter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __match_season_episodes(torrent: TorrentInfo, season_episodes: Dict[int, lis
if len(torrent_seasons) == 1:
need_episodes = season_episodes.get(torrent_seasons[0])
if need_episodes \
and not set(torrent_seasons).intersection(set(need_episodes)):
and not set(torrent_episodes).intersection(set(need_episodes)):
# 单季集没有交集的不要
logger.info(f"种子 {torrent.site_name} - {torrent.title} "
f"集 {torrent_episodes} 没有需要的集:{need_episodes}")
Expand Down

0 comments on commit eeee024

Please sign in to comment.