Merge pull request #3009 from lybtt/fix_local_storage

This commit is contained in:
jxxghp
2024-11-06 10:52:15 +08:00
committed by GitHub
+1 -1
View File
@@ -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