feat 新增清理TMDB缓存命令

This commit is contained in:
jxxghp
2023-08-22 12:32:48 +08:00
parent afe5ee9abb
commit 7435b7c702
5 changed files with 44 additions and 2 deletions

View File

@ -1124,3 +1124,9 @@ class TmdbHelper:
except Exception as e:
print(str(e))
return []
def clear_cache(self):
"""
清除缓存
"""
self.tmdb.cache_clear()