mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2025-01-04 03:09:09 +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):
|
def get_message(start, count):
|
||||||
|
global is_stop
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
if i == 4:
|
if i == 4:
|
||||||
log("请求频繁,换个时间再试吧", "ERROR")
|
log("请求频繁,换个时间再试吧", "ERROR")
|
||||||
@ -1233,7 +1234,7 @@ def main(page: ft.Page):
|
|||||||
# 完成消息获取
|
# 完成消息获取
|
||||||
content_area.content.clean()
|
content_area.content.clean()
|
||||||
if is_stop:
|
if is_stop:
|
||||||
log("获取失败,换个时间再来吧", "WARNING")
|
log("获取失败,换个时间再来吧", "ERROR")
|
||||||
else:
|
else:
|
||||||
log("获取成功!", "SUCCESS")
|
log("获取成功!", "SUCCESS")
|
||||||
clean_content()
|
clean_content()
|
||||||
|
Loading…
Reference in New Issue
Block a user