Skip to content

Commit 9f73b47

Browse files
authored
Merge pull request jxxghp#4977 from jxxghp/cursor/fix-moviepilot-issue-4975-ff74
2 parents 784024f + ce9c99a commit 9f73b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/modules/filemanager/transhandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def __get_targetitem(_path: Path) -> FileItem:
425425
# 复制文件到新目录
426426
target_fileitem = target_oper.get_folder(target_file.parent)
427427
if target_fileitem:
428-
if source_oper.move(fileitem, Path(target_fileitem.path), target_file.name):
428+
if source_oper.copy(fileitem, Path(target_fileitem.path), target_file.name):
429429
return target_oper.get_item(target_file), ""
430430
else:
431431
return None, f"【{target_storage}{fileitem.path} 复制文件失败"

0 commit comments

Comments
 (0)