Skip to content

Commit

Permalink
fix new gate missing
Browse files Browse the repository at this point in the history
  • Loading branch information
iiiii7d committed Jun 2, 2024
1 parent 3f22729 commit ec71ca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gatelogue-aggregator/src/gatelogue_aggregator/types/air.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def final_update(self):
if len(possible_gates) == 1:
flight.s.update(possible_gates[0].s)
flight.v.gates = [a for a in flight.v.gates if a.v != none_gate]
flight.v.gates.append(possible_gates[0])
possible_gates[0].v.flights.append(flight)
else:
new_flights.append(flight)
Expand Down

0 comments on commit ec71ca4

Please sign in to comment.