Skip to content

Commit bfbdc35

Browse files
committed
repair depricated sysconfig variable
1 parent befe94a commit bfbdc35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _error_handler(result, fn, args):
8383
def fdopen():
8484
return _libsuinput.suinput_open()
8585

86-
_libsuinput_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "_libsuinput" + sysconfig.get_config_var("SO")))
86+
_libsuinput_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "_libsuinput" + sysconfig.get_config_var("EXT_SUFFIX")))
8787
_libsuinput = ctypes.CDLL(_libsuinput_path, use_errno=True)
8888
_libsuinput.suinput_open.errcheck = _open_error_handler
8989
_libsuinput.suinput_enable_event.errcheck = _error_handler

0 commit comments

Comments
 (0)