This commit is contained in:
jxxghp 2023-10-14 20:12:02 +08:00
parent 9697cf3901
commit 9191ed0a21

View File

@ -66,8 +66,7 @@ def manual_transfer(path: str = None,
if target: if target:
target = Path(target) target = Path(target)
if not target.exists():
return schemas.Response(success=False, message=f"目标路径不存在")
# 类型 # 类型
mtype = MediaType(type_name) if type_name else None mtype = MediaType(type_name) if type_name else None
# 自定义格式 # 自定义格式