From 79b33599acdd8fde2b1a5d4cf6136e832eef5c35 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 22 May 2026 06:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=9F=A9=E5=9B=BD=20AMOS=20?= =?UTF-8?q?=E8=B7=91=E9=81=93=E6=98=BE=E7=A4=BA=E6=9D=A1=E4=BB=B6=EF=BC=9A?= =?UTF-8?q?=E6=9C=89=20runway=5Ftemps=20=E5=8D=B3=E5=8F=AF=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rejected: 韩国 AMOS 无 TDZ/MID/END 点温,display 层自动退化为跑道温度格式 --- src/utils/telegram_push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/telegram_push.py b/src/utils/telegram_push.py index a216cd5b..1d77f6c5 100644 --- a/src/utils/telegram_push.py +++ b/src/utils/telegram_push.py @@ -922,7 +922,7 @@ def _build_airport_status_message( runway_temps = runway_data.get("temperatures") or [] point_temps = runway_data.get("point_temperatures") or [] is_amsc = amos.get("source") in ("amsc_awos", "amos") - has_runway = bool(point_temps and (is_amsc or amos.get("runway_obs"))) + has_runway = bool(is_amsc and (point_temps or runway_temps)) amos_icao = amos.get("icao") or HIGH_FREQ_AIRPORT_ICAO.get(city, "") settlement_pair = _settlement_runway_for_city(city)