fix
This commit is contained in:
parent
3d782a7475
commit
85a77a66dd
@ -46,6 +46,7 @@ class FileTransferModule(_ModuleBase):
|
|||||||
library_path = Path(path)
|
library_path = Path(path)
|
||||||
if not library_path.exists():
|
if not library_path.exists():
|
||||||
return False, f"目录不存在:{library_path}"
|
return False, f"目录不存在:{library_path}"
|
||||||
|
if settings.TRANSFER_TYPE == "link":
|
||||||
if library_path.stat().st_dev != download_devid:
|
if library_path.stat().st_dev != download_devid:
|
||||||
return False, "下载目录与媒体库目录不在同一设备,将导致硬链接失败"
|
return False, "下载目录与媒体库目录不在同一设备,将导致硬链接失败"
|
||||||
return True, ""
|
return True, ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user