From ff6995de24f2c973c0f53f251e780f78fa308e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:44:33 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20main.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/main.py b/bin/main.py index a6373a4..10ddc77 100644 --- a/bin/main.py +++ b/bin/main.py @@ -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函数