Renamed windows dll for Python binding

This commit is contained in:
Matt Hill
2016-10-18 22:14:00 -04:00
parent 130c2686e2
commit bee230267a

View File

@@ -45,7 +45,7 @@ class Alpr():
try:
# Load the .dll for Windows and the .so for Unix-based
if platform.system().lower().find("windows") != -1:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("openalprpy.dll")
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
elif platform.system().lower().find("darwin") != -1:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
else: