Changes in src/mlx/fs.py [408:1e2202fe006b:501:2fd9b3270f6d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fs.py
r408 r501 3 3 from sound import startSound 4 4 5 import os 6 5 7 import fsuipc 8 import xplane 9 6 10 import threading 7 11 import time … … 56 60 FIXME: add info 57 61 """ 58 assert type in [const.SIM_MSFS9, const.SIM_MSFSX], \ 59 "Only MS Flight Simulator 2004 and X are supported" 60 return fsuipc.Simulator(connectionListener, connectAttempts = 3) 62 if type in [const.SIM_MSFS9, const.SIM_MSFSX]: 63 return fsuipc.Simulator(connectionListener, connectAttempts = 3) 64 elif type in [const.SIM_XPLANE9, const.SIM_XPLANE10]: 65 return xplane.Simulator(connectionListener, connectAttempts = 3) 66 else: 67 "Only MS Flight Simulator 2004 and X or X-Plane 9 and 10 are supported" 61 68 62 69 #------------------------------------------------------------------------------- … … 90 97 with self._requestCondition: 91 98 self._toQuit = True 92 self._requestCondition.notif ty()99 self._requestCondition.notify() 93 100 self.join() 94 101
Note:
See TracChangeset
for help on using the changeset viewer.