fix(IYUUAutoSeed): resolve recheck

This commit is contained in:
InfinityPacer
2024-10-26 15:44:58 +08:00
parent 9603ad1ec6
commit 88887d208b

View File

@@ -686,8 +686,8 @@ class IYUUAutoSeed(_PluginBase):
can_seeding_torrents = []
for torrent in torrents:
# 获取种子hash
hash_str = self.__get_hash(torrent, downloader)
if self.__can_seeding(torrent, downloader):
hash_str = self.__get_hash(torrent=torrent, dl_type=service.type)
if self.__can_seeding(torrent=torrent, dl_type=service.type):
can_seeding_torrents.append(hash_str)
if can_seeding_torrents:
logger.info(f"{len(can_seeding_torrents)} 个任务校验完成,开始辅种 ...")