Changeset 203:bc3c9d58a921
- Timestamp:
- 05/28/12 05:07:31 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r202 r203 26 26 import threading 27 27 import sys 28 import datetime 28 29 29 30 #------------------------------------------------------------------------------ … … 63 64 self._stdioLock = threading.Lock() 64 65 self._stdioText = "" 66 self._stdioStartingLine = True 65 67 66 68 self._sendPIREPCallback = None … … 715 717 text = lines[-1] 716 718 lines = lines[:-1] 719 720 now = datetime.datetime.now() 721 timeStr = "%02d:%02d:%02d: " % (now.hour, now.minute, now.second) 717 722 718 723 for line in lines: 719 724 #print >> sys.__stdout__, line 725 if self._stdioStartingLine: 726 self._writeLog(timeStr, self._debugLogView) 720 727 self._writeLog(line + "\n", self._debugLogView) 728 self._stdioStartingLine = True 721 729 722 730 if text: 723 731 #print >> sys.__stdout__, text, 732 if self._stdioStartingLine: 733 self._writeLog(timeStr, self._debugLogView) 724 734 self._writeLog(text, self._debugLogView) 735 self._stdioStartingLine = False 725 736 726 737 def connectSimulator(self, aircraftType): -
src/mlx/web.py
r191 r203 790 790 def run(self): 791 791 """Perform the sending of the ACARS.""" 792 print "Sending the online ACARS" 793 792 794 url = "http://www.virtualairlines.hu/acars2/acarsonline.php" 793 795
Note:
See TracChangeset
for help on using the changeset viewer.