Skip to content

Commit c975f43

Browse files
committed
fix: 更正我这个脑残
1 parent e24742f commit c975f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/storages/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def empty():
331331
logger.terror("storage.error.alist", status=result.code, message=result.message)
332332
else:
333333
self.cache.set(f"listfile_{root}", result, 30)
334-
for r in ((result.data or []).get("content", None) or []):
334+
for r in ((result.data or {}).get("content", None) or []):
335335
file = File(
336336
r["name"],
337337
r["size"],

0 commit comments

Comments
 (0)