fix: 补充几处season的判空

This commit is contained in:
景大侠
2026-01-31 15:22:07 +08:00
parent 17773913ae
commit 1751caef62
8 changed files with 13 additions and 13 deletions

View File

@@ -63,7 +63,7 @@ class SearchMediaTool(MoviePilotTool):
if media_type:
if result.type != MediaType(media_type):
continue
if season and result.season != season:
if season is not None and result.season != season:
continue
filtered_results.append(result)