From 363967b7398f4e2962694f933e175cc96876d545 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 18 Feb 2026 09:47:08 +0000 Subject: [PATCH] Fix bus stop parsing. --- agenda/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agenda/types.py b/agenda/types.py index 81813a5..6e9cf65 100644 --- a/agenda/types.py +++ b/agenda/types.py @@ -418,8 +418,8 @@ class Trip: if item["type"] == "bus": # Include bus journeys in trip elements - from_country = agenda.get_country(item["from_stop"]["country"]) - to_country = agenda.get_country(item["to_stop"]["country"]) + from_country = agenda.get_country(item["from_station"]["country"]) + to_country = agenda.get_country(item["to_station"]["country"]) name = f"{item['from']} → {item['to']}" elements.append( TripElement(