Skip to content

Commit e94da2d

Browse files
authored
Merge pull request odwdinc#66 from daheise/issue-65
Improve DLL finding
2 parents b5cf4ef + d3f49be commit e94da2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimConnect/SimConnect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os
99
import threading
1010

11-
_library_path = os.path.abspath(__file__).replace(".py", ".dll")
11+
_library_path = os.path.splitext(os.path.abspath(__file__))[0] + '.dll'
1212

1313
LOGGER = logging.getLogger(__name__)
1414

0 commit comments

Comments
 (0)