From b4432b923a2fc3eafb0e2a44f5946a9f476ea16a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 18 Aug 2023 11:29:44 +0800 Subject: [PATCH] fix webhook image --- app/chain/webhook.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/chain/webhook.py b/app/chain/webhook.py index f9714769..92beeb24 100644 --- a/app/chain/webhook.py +++ b/app/chain/webhook.py @@ -76,7 +76,8 @@ class WebhookChain(ChainBase): # 消息图片 image_url = event_info.image_url # 查询剧集图片 - if event_info.tmdb_id \ + if not image_url \ + and event_info.tmdb_id \ and event_info.season_id: specific_image = self.obtain_specific_image( mediaid=event_info.tmdb_id,