slight change in __init__.py to fix *.a bug

This commit is contained in:
Sievers
2022-03-21 22:55:28 -07:00
parent 862e4ba67a
commit 2e539918c1

View File

@ -10,6 +10,7 @@ try:
except OSError as e:
if pylib.endswith(".a"):
pylib.strip(".a") + ".so"
pylib = ctypes.CDLL(library)
else:
raise e
if not pylib.Py_IsInitialized():