mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-06 20:42:43 +08:00
fix cache clear
This commit is contained in:
@@ -45,7 +45,7 @@ class DoubanCache(metaclass=WeakSingleton):
|
||||
清空所有豆瓣缓存
|
||||
"""
|
||||
with lock:
|
||||
self._cache.clear(region=self.region)
|
||||
self._cache.clear()
|
||||
|
||||
@staticmethod
|
||||
def __get_key(meta: MetaBase) -> str:
|
||||
|
||||
@@ -43,7 +43,7 @@ class TmdbCache(metaclass=WeakSingleton):
|
||||
清空所有TMDB缓存
|
||||
"""
|
||||
with lock:
|
||||
self._cache.clear(region=self.region)
|
||||
self._cache.clear()
|
||||
|
||||
@staticmethod
|
||||
def __get_key(meta: MetaBase) -> str:
|
||||
|
||||
Reference in New Issue
Block a user