fix 兼容 target_storage 为 None

This commit is contained in:
jxxghp
2025-05-09 12:57:50 +08:00
parent 17843a7c71
commit a0ddfe173b

View File

@@ -450,6 +450,8 @@ class FileManagerModule(_ModuleBase):
)
# 目的操作对象
if not target_oper:
if not target_storage:
target_storage = fileitem.storage
target_oper = self.__get_storage_oper(target_storage)
if not target_oper:
return TransferInfo(success=False,