From 470cd6c95f12fb795d460ae4e5cf1a2cd9d0037c Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 13 May 2026 00:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B4=E9=BB=8E=E6=B8=A9=E5=BA=A6=E8=A1=8C?= =?UTF-8?q?=E6=A0=87=E6=B3=A8"AROME=E9=A2=84=E6=8A=A5"=E4=BB=A5=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E4=BA=8E=E7=AB=99=E7=82=B9=E5=AE=9E=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 八城中仅巴黎为模型数据,其余七城为机场站点实测。 消息中明确标注避免混淆。 Tested: pytest 176 passed, ruff check 通过 --- src/utils/telegram_push.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/telegram_push.py b/src/utils/telegram_push.py index 783f11eb..43440f26 100644 --- a/src/utils/telegram_push.py +++ b/src/utils/telegram_push.py @@ -780,7 +780,8 @@ def _build_airport_status_message( for (r1, r2), (t, _d) in zip(runway_pairs, runway_temps): lines.append(f"{r1}/{r2} {t:.1f}°C") elif station_temp is not None: - lines.append(f"当前实测:{station_temp:.1f}°C") + label = "AROME预报" if city == "paris" else "当前实测" + lines.append(f"{label}:{station_temp:.1f}°C") if deb_pred is not None: lines.append(f"今日DEB预报最高:{deb_pred:.1f}°C") max_so_far, max_temp_time = _get_airport_daily_high(city_weather)