Don't flag negative starts for active flights.

If the flight has already passed its start up time, this isn't a
negative start.
This commit is contained in:
Dan Albert 2023-08-13 12:31:54 -07:00
parent aaf66107ad
commit 2f385086fd

View File

@ -138,10 +138,11 @@ class QTopPanel(QFrame):
if not package.flights:
continue
for flight in package.flights:
startup = flight.flight_plan.startup_time()
if startup < now:
packages.append(package)
break
if flight.state.is_waiting_for_start:
startup = flight.flight_plan.startup_time()
if startup < now:
packages.append(package)
break
return packages
@staticmethod