fix customHosts插件重载

This commit is contained in:
thsrite
2023-08-15 19:36:47 +08:00
parent b086bbf015
commit 45381d4449
3 changed files with 19 additions and 18 deletions

View File

@@ -492,7 +492,7 @@ class MediaSyncDel(_PluginBase):
try:
# 判断种子是否被删除完
self.handle_torrent(history_id=transferhis.id,
src=history.src,
src=transferhis.src,
torrent_hash=history.download_hash)
except Exception as e:
logger.error("删除种子失败,尝试删除源文件:%s" % str(e))
@@ -640,7 +640,7 @@ class MediaSyncDel(_PluginBase):
try:
# 判断种子是否被删除完
self.handle_torrent(history_id=transferhis.id,
src=history.src,
src=transferhis.src,
torrent_hash=history.download_hash)
except Exception as e:
logger.error("删除种子失败,尝试删除源文件:%s" % str(e))