fix 同步删除

This commit is contained in:
thsrite 2023-08-16 21:22:12 +08:00 committed by GitHub
parent 913c07e257
commit eb552a126b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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