From 4d48295f721fbd7193a21dc34a8f632b0a2feb84 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 6 May 2024 16:46:03 +0800 Subject: [PATCH] fix bug --- app/api/endpoints/subscribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/endpoints/subscribe.py b/app/api/endpoints/subscribe.py index 48f8102e..0e1e9043 100644 --- a/app/api/endpoints/subscribe.py +++ b/app/api/endpoints/subscribe.py @@ -355,7 +355,7 @@ def popular_subscribes( # 处理标题 title = sub.get("name") season = sub.get("season") - if season and int(season) > 1: + if season and int(season) > 1 and media.tmdb_id: # 小写数据转大写 season_str = cn2an.an2cn(season, "low") title = f"{title} 第{season_str}季"