From 0a79e8bdebf7d1c9ad6acb38dafe675a3584539b Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 17 Oct 2026 07:37:44 +0800 Subject: [PATCH] fix(types): annotate async torrent cache cleanup --- app/chain/torrents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/torrents.py b/app/chain/torrents.py index 397ea253b..9983ed7ca 100644 --- a/app/chain/torrents.py +++ b/app/chain/torrents.py @@ -259,7 +259,7 @@ class TorrentsChain(ChainBase): self.remove_cache(self._music_rss_file) logger.info('种子缓存数据清理完成') - async def async_clear_torrents(self): + async def async_clear_torrents(self) -> None: """ 异步清理种子缓存数据,包含音乐独立缓存 """