From 51536062f1117b1925dd123432ece5e7a883432b Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 20 Nov 2023 16:43:49 +0800 Subject: [PATCH] fix --- app/modules/douban/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/douban/__init__.py b/app/modules/douban/__init__.py index 91b4af46..efbb9676 100644 --- a/app/modules/douban/__init__.py +++ b/app/modules/douban/__init__.py @@ -561,7 +561,7 @@ class DoubanModule(_ModuleBase): continue if mtype and mtype.value != type_name: continue - if mtype == MediaType.TV and not season: + if mtype and mtype == MediaType.TV and not season: season = 1 item = item_obj.get("target") title = item.get("title")