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

Updated the flight type handling (re #357)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/weighthelp.py

    r1033 r1034  
    44from mlx.i18n import xstr
    55from mlx.checks import PayloadChecker
    6 from mlx.rpc import BookedFlight
    76
    87import mlx.const as const
     
    441440            return self._pax * \
    442441                (const.WEIGHT_PASSENGER_CHARTER
    443                  if self._flightType==BookedFlight.FLIGHT_TYPE_CHARTER
     442                 if self._flightType==const.FLIGHTTYPE_CHARTER
    444443                 else const.WEIGHT_PASSENGER) + \
    445444                self._children * const.WEIGHT_CHILD + \
Note: See TracChangeset for help on using the changeset viewer.