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

@@ -199,7 +199,7 @@ async def subscribe_mediaid(
# 使用名称检查订阅
if title_check and title:
meta = MetaInfo(title)
if season:
if season is not None:
meta.begin_season = season
result = await Subscribe.async_get_by_title(db, title=meta.name, season=meta.begin_season)