fix another __import__

This commit is contained in:
kakwa 2019-02-06 23:04:23 +01:00
parent 3beedc8d4d
commit ccc252965d
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class LdapCherry(object):
elif self.auth_mode == 'custom':
# load custom auth module
auth_module = self._get_param('auth', 'auth.module', config)
auth = __import__(auth_module, globals(), locals(), ['Auth'], -1)
auth = __import__(auth_module, globals(), locals(), ['Auth'], 0)
self.auth = auth.Auth(config['auth'], cherrypy.log)
else:
raise WrongParamValue(