From ff324d74c2f2a14808c9edd1e050d0d1ddbf0826 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 27 Feb 2026 18:57:46 +0800 Subject: [PATCH] remove: Open-Meteo real-time reference display (inaccurate) --- bot_listener.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot_listener.py b/bot_listener.py index fc94574a..96c01645 100644 --- a/bot_listener.py +++ b/bot_listener.py @@ -575,10 +575,8 @@ def start_bot(): wx_display = f" {wx_summary}" if wx_summary else "" msg_lines.append(f"\n✈️ 实测 ({main_source}): {cur_temp}{temp_symbol}{max_str} |{wx_display} | {obs_t_str}{age_tag}") - # Open-Meteo 实时温度补充(当 METAR 数据超过 30 分钟时显示) - om_current_temp = open_meteo.get("current", {}).get("temp") - if om_current_temp is not None and metar_age_min is not None and metar_age_min >= 30: - msg_lines.append(f" 🌐 Open-Meteo 实时参考: {om_current_temp}{temp_symbol}(更新更快,仅供参考)") + + if mgm: m_c = mgm.get("current", {})