Changeset 1067:9ce88d0b881d for src/mlx/xplane.py
- Timestamp:
- 12/21/22 10:17:25 (16 months ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/xplane.py
r1064 r1067 494 494 not due to no longer requested. 495 495 """ 496 config = self._connectionListener.config 497 if config.xplaneRemote: 498 address = "tcp:" + config.xplaneAddress 499 else: 500 address = "local" 501 502 print("xplane.Handler._connect: address:", address) 503 496 504 while self._connectionRequested: 497 505 if attempts>=self.NUM_CONNECTATTEMPTS: … … 507 515 try: 508 516 attempts += 1 509 self._xplane.connect( )517 self._xplane.connect(address = address) 510 518 511 519 (xplaneVersion, xplmVersion, xplraVersion) = \ … … 734 742 735 743 self._fuelCallback = None 744 745 @property 746 def config(self): 747 """Get the configuration.""" 748 return self._connectionListener.config 736 749 737 750 def connect(self, aircraft):
Note:
See TracChangeset
for help on using the changeset viewer.