Skip to content

Commit

Permalink
feat: 剧集刷新缓存完善
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed May 29, 2024
1 parent bbebda0 commit 4d0ed8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/trakt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ def refresh_show_cache():
"""刷新剧集缓存
"""
try:
show_handler.get_shows.cache_clear()
show_handler.get_show.cache_clear()
show_handler.get_index.cache_clear()
return Result.success(msg='刷新show缓存成功')
except Exception as e:
Expand Down

0 comments on commit 4d0ed8b

Please sign in to comment.