- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/pirep.py
r908 r856 136 136 self.bookedFlight = flight.bookedFlight 137 137 138 self.numCockpitCrew = flight.numCockpitCrew139 self.numCabinCrew = flight.numCabinCrew140 138 self.numCrew = flight.numCrew 141 139 self.numPassengers = flight.numPassengers … … 184 182 self.bookedFlight = bookedFlight 185 183 186 self.numCockpitCrew = int(pirepData["numCockpitCrew"]) 187 self.numCabinCrew = int(pirepData["numCabinCrew"]) 188 self.numCrew = self.numCockpitCrew + self.numCabinCrew 184 self.numCrew = int(pirepData["numCrew"]) 189 185 self.numPassengers = int(pirepData["numPassengers"]) 190 186 self.bagWeight = int(pirepData["bagWeight"]) … … 385 381 attrs["arrivalICAO"] = self.bookedFlight.arrivalICAO 386 382 attrs["numPassengers"] = self.numPassengers 387 attrs["numCockpitCrew"] = self.numCockpitCrew388 attrs["numCabinCrew"] = self.numCabinCrew389 383 attrs["numCrew"] = self.numCrew 390 384 attrs["cargoWeight"] = self.cargoWeight
Note:
See TracChangeset
for help on using the changeset viewer.