fix 跨存储整理(115下载除外)

This commit is contained in:
jxxghp
2024-09-25 20:16:31 +08:00
parent f79364bc58
commit 93e053d06a
8 changed files with 60 additions and 36 deletions

View File

@@ -272,7 +272,7 @@ class TransferChain(ChainBase):
# 整理成功的不再处理
if not force:
transferd = self.transferhis.get_by_src(file_item.path)
transferd = self.transferhis.get_by_src(file_item.path, storage=file_item.storage)
if transferd and transferd.status:
logger.info(f"{file_item.path} 已成功整理过,如需重新处理,请删除历史记录。")
# 计数