From f93fe3bb98ba080aff63134bcebb34e18ef28e01 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 11 Jun 2023 06:51:50 +0800 Subject: [PATCH] fix --- app/modules/themoviedb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/themoviedb/__init__.py b/app/modules/themoviedb/__init__.py index 2d766ad9..12d913ed 100644 --- a/app/modules/themoviedb/__init__.py +++ b/app/modules/themoviedb/__init__.py @@ -54,7 +54,7 @@ class TheMovieDb(_ModuleBase): if not meta: return None cache_info = self.cache.get(meta) - if not cache_info or cache_info.get('id') == 0: + if not cache_info: # 缓存没有或者强制不使用缓存 if tmdbid: # 直接查询详情