_mongoose.dll -> mongoose.dll, _mongoose.so -> libbmongoose.so

This commit is contained in:
Sergey Lyubka
2012-09-22 12:52:47 +01:00
parent 79cdb77e5d
commit f935ef832b
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -123,9 +123,9 @@ class Mongoose(object):
def __init__(self, callback, **kwargs):
if os.name == 'nt':
self.dll = ctypes.WinDLL('_mongoose.dll')
self.dll = ctypes.WinDLL('mongoose.dll')
else:
self.dll = ctypes.CDLL('_mongoose.so')
self.dll = ctypes.CDLL('libmongoose.so')
self.dll.mg_start.restype = ctypes.c_void_p
self.dll.mg_modify_passwords_file.restype = ctypes.c_int