Fix rocket name
This commit is contained in:
parent
f4557d14e8
commit
52810ca676
|
@ -266,7 +266,10 @@ async def get_data(now: datetime, config: flask.config.Config) -> AgendaData:
|
||||||
if not dt:
|
if not dt:
|
||||||
continue
|
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)
|
e = Event(name="rocket", date=dt, title=rocket_name)
|
||||||
events.append(e)
|
events.append(e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue