Explorar o código

LDAP auth: fix _login2() by importing ldap.filter

Peter Marschall hai 5 meses
pai
achega
5c4a0578b0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      radicale/auth/ldap.py

+ 1 - 0
radicale/auth/ldap.py

@@ -80,6 +80,7 @@ class Auth(auth.BaseAuth):
         except ImportError:
             try:
                 import ldap
+                import ldap.filter
                 self._ldap_module_version = 2
                 self.ldap = ldap
             except ImportError as e: