Changeset 1142:d9373f5599db for src/mlx/gui/weighthelp.py
- Timestamp:
- 04/21/24 14:03:59 (2 weeks ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/weighthelp.py
r1034 r1142 438 438 if self._flightType>=0 and self._pax>=0 and self._children>=0 and \ 439 439 self._infants>=0: 440 return self._pax * \ 441 (const.WEIGHT_PASSENGER_CHARTER 442 if self._flightType==const.FLIGHTTYPE_CHARTER 443 else const.WEIGHT_PASSENGER) + \ 440 return self._pax * const.getPassengerWeight(self._flightType) + \ 444 441 self._children * const.WEIGHT_CHILD + \ 445 442 self._infants * const.WEIGHT_INFANT
Note:
See TracChangeset
for help on using the changeset viewer.