fix: 历史记录中重新整理成功记录时的问题
This commit is contained in:
@ -56,6 +56,10 @@ def manual_transfer(path: str = None,
|
||||
return schemas.Response(success=False, message=f"历史记录不存在,ID:{logid}")
|
||||
# 强制转移
|
||||
force = True
|
||||
if history.status:
|
||||
# 重新整理成功的转移,则使用成功的 dest 做 in_path
|
||||
in_path = Path(history.dest)
|
||||
else:
|
||||
# 源路径
|
||||
in_path = Path(history.src)
|
||||
# 目的路径
|
||||
|
Reference in New Issue
Block a user