Explorar el Código

Fixes PEP8 E401 CI error

Jeremy Stretch hace 9 años
padre
commit
498eb50f56
Se han modificado 1 ficheros con 2 adiciones y 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',