parent
39f9c98a51
commit
3a7784bb25
3 changed files with 4 additions and 4 deletions
|
|
@ -233,7 +233,7 @@ def trip_page(start: str) -> str:
|
|||
|
||||
coordinates = agenda.trip.collect_trip_coordinates(trip)
|
||||
routes = agenda.trip.get_trip_routes(trip)
|
||||
if any(route["type"] == "flight" for route in routes) and not any(
|
||||
if any(route["type"] == "unbooked_flight" for route in routes) and not any(
|
||||
pin["type"] == "airport" for pin in coordinates
|
||||
):
|
||||
airports = typing.cast(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue