更新 main.py

This commit is contained in:
星光-k
2025-01-14 16:44:33 +00:00
committed by GitHub
parent 4d675b55af
commit ff6995de24

View File

@@ -55,7 +55,7 @@ def start_timer():
global timer_started
if not timer_started:
# 设置定时器每隔1800秒30分钟调用一次getWeath函数
Timer(1800, getWeath).start()
Timer(180, getWeath).start()
timer_started = True
# 在脚本开始时调用start_timer函数