From 4effa2cb50d02d649cccabb9b39bdda2e34f8ce6 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 25 Feb 2026 12:29:06 +0800 Subject: [PATCH] Please provide the diff to summarize the changes. --- bot_listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_listener.py b/bot_listener.py index 28ca6185..66a92032 100644 --- a/bot_listener.py +++ b/bot_listener.py @@ -242,7 +242,7 @@ def analyze_weather_trend(weather_data, temp_symbol): if last_peak_h < 6: insights.append(f"⚠️ 提示:预测最热在凌晨,后续气温可能一路走低。") elif local_hour < first_peak_h and (max_so_far is None or max_so_far < forecast_high): - target_temp = forecast_median if forecast_median is not None else forecast_high + target_temp = om_today if om_today is not None else forecast_high insights.append(f"🎯 关注重点:看看那个时段温度能不能真的到 {target_temp}{temp_symbol}。") else: # 兜底默认值