mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix 本地存储 upload 后将文件识别为文件夹的问题
This commit is contained in:
@@ -193,7 +193,7 @@ class LocalStorage(StorageBase):
|
|||||||
if code != 0:
|
if code != 0:
|
||||||
logger.error(f"移动文件失败:{message}")
|
logger.error(f"移动文件失败:{message}")
|
||||||
return None
|
return None
|
||||||
return self.__get_diritem(target_path)
|
return self.get_item(target_path)
|
||||||
|
|
||||||
def copy(self, fileitem: schemas.FileItem, target_file: Path) -> bool:
|
def copy(self, fileitem: schemas.FileItem, target_file: Path) -> bool:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user