Merge pull request #1620 from thsrite/main
This commit is contained in:
commit
de4a7becc2
@ -46,7 +46,7 @@ class FileTransferModule(_ModuleBase):
|
||||
library_path = Path(path)
|
||||
if not library_path.exists():
|
||||
return False, f"目录不存在:{library_path}"
|
||||
if settings.TRANSFER_TYPE == "link":
|
||||
if settings.DOWNLOADER_MONITOR and settings.TRANSFER_TYPE == "link":
|
||||
if library_path.stat().st_dev != download_devid:
|
||||
return False, f"下载目录 {download_path} 与媒体库目录 {library_path} 不在同一设备,将无法硬链接"
|
||||
return True, ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user