mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2024-12-29 07:29:40 +00:00
update
This commit is contained in:
parent
6de91d9d5a
commit
85e59b682f
3
main.py
3
main.py
@ -1048,6 +1048,7 @@ def main(page: ft.Page):
|
||||
)
|
||||
|
||||
def get_message(start, count):
|
||||
global is_stop
|
||||
for i in range(5):
|
||||
if i == 4:
|
||||
log("请求频繁,换个时间再试吧", "ERROR")
|
||||
@ -1233,7 +1234,7 @@ def main(page: ft.Page):
|
||||
# 完成消息获取
|
||||
content_area.content.clean()
|
||||
if is_stop:
|
||||
log("获取失败,换个时间再来吧", "WARNING")
|
||||
log("获取失败,换个时间再来吧", "ERROR")
|
||||
else:
|
||||
log("获取成功!", "SUCCESS")
|
||||
clean_content()
|
||||
|
Loading…
Reference in New Issue
Block a user