mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
Merge pull request #3009 from lybtt/fix_local_storage
This commit is contained in:
@@ -222,7 +222,7 @@ class LocalStorage(StorageBase):
|
|||||||
软链接文件
|
软链接文件
|
||||||
"""
|
"""
|
||||||
file_path = Path(fileitem.path)
|
file_path = Path(fileitem.path)
|
||||||
code, message = SystemUtils.copy(file_path, target_file)
|
code, message = SystemUtils.softlink(file_path, target_file)
|
||||||
if code != 0:
|
if code != 0:
|
||||||
logger.error(f"软链接文件失败:{message}")
|
logger.error(f"软链接文件失败:{message}")
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user