Show flights without CO2 info.
This commit is contained in:
parent
ee1eaa1046
commit
9bc0f97976
|
@ -59,6 +59,9 @@ def check_flights(airlines: set[str]) -> None:
|
|||
co2_flight_count += len(
|
||||
[flight for flight in booking["flights"] if "co2_kg" in flight]
|
||||
)
|
||||
for flight in booking["flights"]:
|
||||
if "co2_kg" not in flight:
|
||||
pprint(booking)
|
||||
check_currency(booking)
|
||||
|
||||
if prev_first_depart:
|
||||
|
|
Loading…
Reference in a new issue