From 52810ca6769d455902722f858d77a2d45600b12c Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 2 Jul 2024 07:15:19 +0100 Subject: [PATCH] Fix rocket name --- agenda/data.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/agenda/data.py b/agenda/data.py index b64ed9f..8ae6305 100644 --- a/agenda/data.py +++ b/agenda/data.py @@ -266,7 +266,10 @@ async def get_data(now: datetime, config: flask.config.Config) -> AgendaData: if not dt: continue - rocket_name = f'{launch["rocket"]}: {launch["mission_name"] or "[no mission]"}' + rocket_name = ( + f'{launch["rocket"]["full_name"]}: ' + + f'{launch["mission_name"] or "[no mission]"}' + ) e = Event(name="rocket", date=dt, title=rocket_name) events.append(e)