Squashed commit of the following:

commit d8cb43934c49a7dba8d22b55f28bf90eef5c45d7
Author: yshtcn <k.yshtcn+github@gmail.com>
Date:   Mon Sep 25 21:08:39 2023 +0800

    - 增加一次重试机会,以避免长时间的等待。

# Conflicts:
#	Diary Assistant.py
This commit is contained in:
yshtcn 2023-09-25 21:15:52 +08:00
parent 4a93dabcb1
commit 14848befb1

View File

@ -160,8 +160,7 @@ def main():
print(f"set menu{result}")
print("Checking for updates...")
updates = get_updates(last_update_id)
if updates and "result" in updates:
if updates and "result" in updates:
print(f"Received updates: {updates}")
for update in updates["result"]: