From eb552a126b5a53f554c8c59c2a5bcc20c38c09e6 Mon Sep 17 00:00:00 2001 From: thsrite Date: Wed, 16 Aug 2023 21:22:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=90=8C=E6=AD=A5=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/plugins/mediasyncdel/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/plugins/mediasyncdel/__init__.py b/app/plugins/mediasyncdel/__init__.py index 77e56ec2..4294a26f 100644 --- a/app/plugins/mediasyncdel/__init__.py +++ b/app/plugins/mediasyncdel/__init__.py @@ -493,7 +493,7 @@ class MediaSyncDel(_PluginBase): # 判断种子是否被删除完 self.handle_torrent(history_id=transferhis.id, src=transferhis.src, - torrent_hash=history.download_hash) + torrent_hash=transferhis.download_hash) except Exception as e: logger.error("删除种子失败,尝试删除源文件:%s" % str(e)) del_source = True @@ -641,7 +641,7 @@ class MediaSyncDel(_PluginBase): # 判断种子是否被删除完 self.handle_torrent(history_id=transferhis.id, src=transferhis.src, - torrent_hash=history.download_hash) + torrent_hash=transferhis.download_hash) except Exception as e: logger.error("删除种子失败,尝试删除源文件:%s" % str(e)) del_source = True