mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix 115列表异常处理
This commit is contained in:
@@ -350,8 +350,10 @@ class U115Pan(StorageBase, metaclass=Singleton):
|
|||||||
"data",
|
"data",
|
||||||
params={"cid": cid, "limit": 1000, "offset": offset, "cur": True, "show_dir": 1}
|
params={"cid": cid, "limit": 1000, "offset": offset, "cur": True, "show_dir": 1}
|
||||||
)
|
)
|
||||||
if not resp:
|
if resp is None:
|
||||||
raise FileNotFoundError(f"【115】{fileitem.path} 检索出错!")
|
raise FileNotFoundError(f"【115】{fileitem.path} 检索出错!")
|
||||||
|
if not resp:
|
||||||
|
break
|
||||||
for item in resp:
|
for item in resp:
|
||||||
# 更新缓存
|
# 更新缓存
|
||||||
path = f"{fileitem.path}{item['fn']}"
|
path = f"{fileitem.path}{item['fn']}"
|
||||||
|
|||||||
Reference in New Issue
Block a user