mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 07:10:44 +08:00
🐛 修复容量限制 (capacity limit) 时的无报错无限转圈
Some checks failed
Docker Publish / build-and-push (push) Has been cancelled
Some checks failed
Docker Publish / build-and-push (push) Has been cancelled
This commit is contained in:
parent
365f3de136
commit
7679bbab38
@ -619,6 +619,8 @@ class Quark:
|
|||||||
"__t": datetime.now().timestamp(),
|
"__t": datetime.now().timestamp(),
|
||||||
}
|
}
|
||||||
response = self._send_request("GET", url, params=querystring).json()
|
response = self._send_request("GET", url, params=querystring).json()
|
||||||
|
if response["status"] != 200:
|
||||||
|
return response
|
||||||
if response["data"]["status"] == 2:
|
if response["data"]["status"] == 2:
|
||||||
if retry_index > 0:
|
if retry_index > 0:
|
||||||
print()
|
print()
|
||||||
@ -995,6 +997,7 @@ class Quark:
|
|||||||
if err_msg:
|
if err_msg:
|
||||||
add_notify(f"❌《{task['taskname']}》转存失败:{err_msg}\n")
|
add_notify(f"❌《{task['taskname']}》转存失败:{err_msg}\n")
|
||||||
# 建立目录树
|
# 建立目录树
|
||||||
|
if len(need_save_list) == len(save_as_top_fids):
|
||||||
for index, item in enumerate(need_save_list):
|
for index, item in enumerate(need_save_list):
|
||||||
icon = self._get_file_icon(item)
|
icon = self._get_file_icon(item)
|
||||||
tree.create_node(
|
tree.create_node(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user