8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bb0ec commit 6624e1cCopy full SHA for 6624e1c
core/storage/alist.py
@@ -157,7 +157,7 @@ async def list_files(self, path: str) -> list[abc.FileInfo]:
157
}
158
) as resp:
159
data = AlistResponse(await resp.json())
160
- for item in (data.data or {}).get("content", []):
+ for item in (data.data or {}).get("content", []) or []:
161
if item["is_dir"]:
162
continue
163
res.append(abc.FileInfo(
0 commit comments