Skip to content

Commit d3f49be

Browse files
committed
Improve DLL finding
1 parent b5cf4ef commit d3f49be

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)