mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-03-15 07:03:16 +08:00
更新 main.py
This commit is contained in:
@@ -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函数
|
||||
|
||||
Reference in New Issue
Block a user