Ignore:
Timestamp:
03/14/22 08:46:34 (2 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Updates for the new crew and passenger handling (re #357)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/web.py

    r1032 r1033  
    286286        self.tailNumber = bookedFlightData["tailNumber"]
    287287        self.numPassengers = int(bookedFlightData["numPassengers"])
    288         self.numCrew = int(bookedFlightData["numCrew"])
     288        self.numChildren = int(bookedFlightData["numChildren"])
     289        self.numInfants = int(bookedFlightData["numInfants"])
     290        self.maxPassengers = int(bookedFlightData["maxPassengers"])
     291        self.numCockpitCrew = int(bookedFlightData["numCockpitCrew"])
     292        self.numCabinCrew = int(bookedFlightData["numCabinCrew"])
    289293        self.bagWeight = int(bookedFlightData["bagWeight"])
    290294        self.cargoWeight = int(bookedFlightData["cargoWeight"])
Note: See TracChangeset for help on using the changeset viewer.