Explorar o código

Fixes PEP8 E401 CI error

Jeremy Stretch %!s(int64=10) %!d(string=hai) anos
pai
achega
498eb50f56
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      netbox/netbox/settings.py

+ 2 - 1
netbox/netbox/settings.py

@@ -51,7 +51,8 @@ except ImportError:
 # LDAP configuration (optional)
 if LDAP_CONFIGURED:
     try:
-        import ldap, django_auth_ldap
+        import ldap
+        import django_auth_ldap
         # Prepend LDAPBackend to the default ModelBackend
         AUTHENTICATION_BACKENDS = [
             'django_auth_ldap.backend.LDAPBackend',