Fix names of tasks to not use the enum name.

This commit is contained in:
Dan Albert
2020-11-23 17:15:42 -08:00
parent 9394ed663a
commit 6e0af7c144
16 changed files with 39 additions and 67 deletions

View File

@@ -433,7 +433,7 @@ class Operation:
FlightType.DEAD,
FlightType.SEAD,
FlightType.STRIKE]:
flightType = flight.flight_type.name
flightType = str(flight.flight_type)
flightTarget = flight.package.target
if flightTarget:
flightTargetName = None