Changeset 263:7ee78a903649 for src/mlx/gui
- Timestamp:
- 06/28/12 17:24:45 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/monitor.py
r228 r263 286 286 self._fuel.set_text(fuelStr) 287 287 288 if hasattr(aircraftState, "n1"):288 if aircraftState.n1 is not None: 289 289 n1Str = "" 290 290 for n1 in aircraftState.n1: 291 291 if n1Str: n1Str += ", " 292 292 n1Str += "%.0f" % (n1,) 293 elif hasattr(aircraftState, "rpm"):293 elif aircraftState.rpm is not None: 294 294 n1Str = "" 295 295 for rpm in aircraftState.rpm:
Note:
See TracChangeset
for help on using the changeset viewer.