Not flying to Belgium

This commit is contained in:
Edward Betts 2024-01-16 18:12:48 +00:00
parent 549ddd3b60
commit 6748f8338c

View file

@ -204,7 +204,9 @@ def get_trip_routes(trip: Trip) -> list[StrDict]:
"to": latlon_tuple(item), "to": latlon_tuple(item),
} }
for item in trip.conferences for item in trip.conferences
if "latitude" in item and "longitude" in item and item["country"] != "gb" if "latitude" in item
and "longitude" in item
and item["country"] not in ("gb", "be") # not flying to Belgium
] ]