Changeset 313:8a6711d8fbcc for src/mlx
- Timestamp:
- 08/19/12 05:43:38 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r311 r313 230 230 self._flight.logFuel(aircraftState) 231 231 self.logger.message(aircraftState.timestamp, 232 "Z ero-fuel weight: %.0f kg" % (aircraftState.zfw))232 "ZFW: %.2f kg" % (aircraftState.zfw)) 233 233 flight = self._flight 234 234 if flight.v1 is None or flight.vr is None or flight.v2 is None: -
src/mlx/web.py
r312 r313 707 707 pirep.flightTimeStart) 708 708 data["timecomm"] = pirep.getTimeComment() 709 data["fuel"] = "%. 0f" % (pirep.fuelUsed,)709 data["fuel"] = "%.2f" % (pirep.fuelUsed,) 710 710 data["dep_rwy"] = pirep.departureRunway 711 711 data["arr_rwy"] = pirep.arrivalRunway
Note:
See TracChangeset
for help on using the changeset viewer.