Changeset 420:fc063b7b571e for src/mlx/fs.py
- Timestamp:
- 02/10/13 16:54:52 (11 years ago)
- Branch:
- xplane
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fs.py
r408 r420 3 3 from sound import startSound 4 4 5 import fsuipc 5 import os 6 7 if os.name=="nt" or "FORCE_PYUIPC_SIM" in os.environ: 8 import fsuipc as sim 9 else: 10 import xplane as sim 11 6 12 import threading 7 13 import time … … 58 64 assert type in [const.SIM_MSFS9, const.SIM_MSFSX], \ 59 65 "Only MS Flight Simulator 2004 and X are supported" 60 return fsuipc.Simulator(connectionListener, connectAttempts = 3)66 return sim.Simulator(connectionListener, connectAttempts = 3) 61 67 62 68 #-------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.