From 4f7d8866a04340690fed0486705d00928fb03aff Mon Sep 17 00:00:00 2001 From: wdmcheng Date: Sun, 17 Nov 2024 11:50:33 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9C=AC=E5=9C=B0=E5=AD=98=E5=82=A8=20up?= =?UTF-8?q?load=20=E5=90=8E=E5=B0=86=E6=96=87=E4=BB=B6=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E4=B8=BA=E6=96=87=E4=BB=B6=E5=A4=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/filemanager/storages/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/filemanager/storages/local.py b/app/modules/filemanager/storages/local.py index a7e26077..c7cb9da4 100644 --- a/app/modules/filemanager/storages/local.py +++ b/app/modules/filemanager/storages/local.py @@ -193,7 +193,7 @@ class LocalStorage(StorageBase): if code != 0: logger.error(f"移动文件失败:{message}") return None - return self.__get_diritem(target_path) + return self.get_item(target_path) def copy(self, fileitem: schemas.FileItem, target_file: Path) -> bool: """