From 36e03b25339fffe5556a9b61d1b0c4773c437004 Mon Sep 17 00:00:00 2001 From: Qimji <41055956+qimji@users.noreply.github.com> Date: Sat, 7 Jun 2025 00:59:57 +0800 Subject: [PATCH] Update __init__.py fix bugs --- plugins.v2/torrenttransfer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.v2/torrenttransfer/__init__.py b/plugins.v2/torrenttransfer/__init__.py index 77db83b..04681bf 100644 --- a/plugins.v2/torrenttransfer/__init__.py +++ b/plugins.v2/torrenttransfer/__init__.py @@ -795,7 +795,7 @@ class TorrentTransfer(_PluginBase): # 删除重复的源种子,不能删除文件! if self._deleteduplicate: logger.info(f"删除重复的源下载器任务(不含文件):{torrent_item.get('hash')} ...") - to_downloader.delete_torrents(delete_file=False, ids=[torrent_item.get('hash')]) + from_downloader.delete_torrents(delete_file=False, ids=[torrent_item.get('hash')]) del_dup += 1 else: logger.info(f"{torrent_item.get('hash')} 已在目的下载器中,跳过 ...")