Browse Source

Fixes PEP8 E401 CI error

Jeremy Stretch 8 years ago
parent
commit
498eb50f56
1 changed files with 2 additions and 1 deletions
  1. 2 1
      netbox/netbox/settings.py

+ 2 - 1
netbox/netbox/settings.py

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