fix alipan && rclone get_folder

This commit is contained in:
jxxghp
2024-11-23 21:43:53 +08:00
parent 96b3746caa
commit 8d737f9e37
2 changed files with 8 additions and 8 deletions

View File

@@ -172,6 +172,10 @@ class Rclone(StorageBase):
return sub_folder
return None
# 是否已存在
folder = self.get_item(path)
if folder:
return folder
# 逐级查找和创建目录
fileitem = schemas.FileItem(path="/")
for part in path.parts: