fix local get_folder

This commit is contained in:
jxxghp
2024-07-01 21:26:39 +08:00
parent cf409eb28f
commit 60827fd5b1

View File

@@ -125,7 +125,7 @@ class LocalStorage(StorageBase):
获取目录
"""
if not path.exists():
return None
path.mkdir(parents=True, exist_ok=True)
return schemas.FileItem(
storage=self.schema.value,
type="dir",