This commit is contained in:
jxxghp
2025-01-22 15:21:10 +08:00
parent c458d7525d
commit 8189de589a
2 changed files with 5 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ class StorageBase(metaclass=ABCMeta):
"""
获取父目录
"""
return self.get_folder(Path(fileitem.path).parent)
return self.get_item(Path(fileitem.path).parent)
@abstractmethod
def delete(self, fileitem: schemas.FileItem) -> bool: