fix 115列表出错时抛出异常

This commit is contained in:
jxxghp
2025-03-27 12:48:19 +08:00
parent 7041347e76
commit 5e442433e5

View File

@@ -351,7 +351,7 @@ class U115Pan(StorageBase, metaclass=Singleton):
params={"cid": cid, "limit": 1000, "offset": offset, "cur": True, "show_dir": 1}
)
if not resp:
break
raise FileNotFoundError(f"【115】{fileitem.path} 检索出错!")
for item in resp:
# 更新缓存
path = f"{fileitem.path}{item['fn']}"