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