From 0b694abff03f21edfe93811d2b2210eb27a65653 Mon Sep 17 00:00:00 2001 From: wzy-warehouse <18135009705@163.com> Date: Sat, 30 May 2026 16:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E5=85=A5=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/rainfall_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/rainfall_manager.py b/app/core/rainfall_manager.py index b916f4e..78028f8 100644 --- a/app/core/rainfall_manager.py +++ b/app/core/rainfall_manager.py @@ -24,7 +24,7 @@ class RainfallManager: Args: query_time: 查询时间,默认为当前时间 """ - from app.utils import thread_pool_manager + from app.utils.thread_pool_manager import thread_pool_manager if query_time is None: query_time = datetime.now() @@ -56,7 +56,7 @@ class RainfallManager: # 如果ID为空(刚启动)或者改变,则生成降雨栅格 if self.last_max_id is None or max_id != self.last_max_id: - from app.utils import thread_pool_manager + from app.utils.thread_pool_manager import thread_pool_manager self.logger.info(f"检测到数据更新,旧ID: {self.last_max_id}, 新ID: {max_id}")