fix bug
This commit is contained in:
parent
9697cf3901
commit
9191ed0a21
@ -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
|
||||||
# 自定义格式
|
# 自定义格式
|
||||||
|
Loading…
x
Reference in New Issue
Block a user