Changeset 374:a505684c3723
- Timestamp:
- 12/18/12 10:14:19 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r366 r374 111 111 self._gui = gui 112 112 self._lastSent = None 113 self._sending = False 113 114 114 115 def check(self, flight, aircraft, logger, oldState, state): 115 116 """If the time has come to send the ACARS, send it.""" 117 if self._sending: 118 return 119 116 120 now = time.time() 117 121 … … 131 135 else: 132 136 print "Failed to send the ACARS" 137 self._sending = False 133 138 134 139 #---------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.