Changes in src/mlx/fs.py [501:2fd9b3270f6d:408:1e2202fe006b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fs.py
r501 r408 3 3 from sound import startSound 4 4 5 import os6 7 5 import fsuipc 8 import xplane9 10 6 import threading 11 7 import time … … 60 56 FIXME: add info 61 57 """ 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" 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) 68 61 69 62 #------------------------------------------------------------------------------- … … 97 90 with self._requestCondition: 98 91 self._toQuit = True 99 self._requestCondition.notif y()92 self._requestCondition.notifty() 100 93 self.join() 101 94
Note:
See TracChangeset
for help on using the changeset viewer.