mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-24 07:26:45 +00:00
fix log
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user