mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
更新 u115.py
This commit is contained in:
@@ -695,7 +695,7 @@ class U115Pan(StorageBase, metaclass=Singleton):
|
|||||||
return schemas.FileItem(
|
return schemas.FileItem(
|
||||||
storage=self.schema.value,
|
storage=self.schema.value,
|
||||||
fileid=str(resp["file_id"]),
|
fileid=str(resp["file_id"]),
|
||||||
path=str(path) + ("/" if resp["file_category"] == "1" else ""),
|
path=str(path) + ("/" if resp["file_category"] == "0" else ""),
|
||||||
type="file" if resp["file_category"] == "1" else "dir",
|
type="file" if resp["file_category"] == "1" else "dir",
|
||||||
name=resp["file_name"],
|
name=resp["file_name"],
|
||||||
basename=Path(resp["file_name"]).stem,
|
basename=Path(resp["file_name"]).stem,
|
||||||
|
|||||||
Reference in New Issue
Block a user