Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/pirep.py

    r908 r856  
    136136        self.bookedFlight = flight.bookedFlight
    137137
    138         self.numCockpitCrew = flight.numCockpitCrew
    139         self.numCabinCrew = flight.numCabinCrew
    140138        self.numCrew = flight.numCrew
    141139        self.numPassengers = flight.numPassengers
     
    184182        self.bookedFlight = bookedFlight
    185183
    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"])
    189185        self.numPassengers = int(pirepData["numPassengers"])
    190186        self.bagWeight = int(pirepData["bagWeight"])
     
    385381        attrs["arrivalICAO"] = self.bookedFlight.arrivalICAO
    386382        attrs["numPassengers"] = self.numPassengers
    387         attrs["numCockpitCrew"] = self.numCockpitCrew
    388         attrs["numCabinCrew"] = self.numCabinCrew
    389383        attrs["numCrew"] = self.numCrew
    390384        attrs["cargoWeight"] = self.cargoWeight
Note: See TracChangeset for help on using the changeset viewer.