fix:整理失败时也打上已整理标签

This commit is contained in:
jxxghp
2025-06-03 17:48:30 +08:00
parent 5d188e3877
commit 5f18a21e86
+2 -1
View File
@@ -859,7 +859,8 @@ class TransferChain(ChainBase, metaclass=Singleton):
) )
# 设置下载任务状态 # 设置下载任务状态
if state: if not state:
logger.warn(f"整理下载器任务失败:{torrent.hash} - {errmsg}")
self.transfer_completed(hashs=torrent.hash, downloader=torrent.downloader) self.transfer_completed(hashs=torrent.hash, downloader=torrent.downloader)
# 结束 # 结束