mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix local get_folder
This commit is contained in:
@@ -125,7 +125,7 @@ class LocalStorage(StorageBase):
|
|||||||
获取目录
|
获取目录
|
||||||
"""
|
"""
|
||||||
if not path.exists():
|
if not path.exists():
|
||||||
return None
|
path.mkdir(parents=True, exist_ok=True)
|
||||||
return schemas.FileItem(
|
return schemas.FileItem(
|
||||||
storage=self.schema.value,
|
storage=self.schema.value,
|
||||||
type="dir",
|
type="dir",
|
||||||
|
|||||||
Reference in New Issue
Block a user