This commit is contained in:
thsrite
2024-04-18 11:47:10 +08:00
parent 6f4871cf89
commit 77a7b079e4

View File

@@ -329,7 +329,7 @@ class FileSoftLink(_PluginBase):
# 媒体文件软连接
if Path(target_file).suffix in settings.RMT_MEDIAEXT:
retcode, retmsg = SystemUtils.softlink(file_path, target_file)
retcode, retmsg = SystemUtils.softlink(file_path, Path(target_file))
logger.info(f"创建媒体文件软连接 {str(file_path)}{target_file} {retcode} {retmsg}")
else:
if self._copy_files: