This commit is contained in:
thsrite
2024-04-17 14:55:29 +08:00
parent c85888a99e
commit e0ec697aac

View File

@@ -68,6 +68,7 @@ class RemoveTorrent(_PluginBase):
if not torrents:
logger.info(f"下载器 {self._downloader} 未获取到已完成种子")
return
logger.info(f"下载器 {self._downloader} 获取到已完成种子 {len(torrents)}")
all_torrents = []
tracker_torrents = []
@@ -96,6 +97,8 @@ class RemoveTorrent(_PluginBase):
logger.error(f"下载器 {self._downloader} 未获取到命中tracker {tracker} 的种子")
return
logger.info(f"下载器 {self._downloader} 获取到命中tracker {tracker} 已完成种子 {len(tracker_torrents)}")
# 查询tracker种子是否有其他辅种
for tracker_torrent in tracker_torrents:
torrent = key_torrents.get(tracker_torrent)