diff --git a/route_planning.py b/route_planning.py index 1465e8f..0e93350 100644 --- a/route_planning.py +++ b/route_planning.py @@ -76,7 +76,7 @@ def run_route_planning(hafas: backend.HafasClient | None = None): #drivetimeBuffer.text = Fahrzeit von Hafas. infoBuffer = Buffer() - infoBuffer.text = f"Routenplanung von {station1.name} nach {station2.name}" + infoBuffer.text = f"Routenplanung von {station1[0][0]} nach {station2[0][0]}" def get_clock_text(): now = datetime.datetime.now()