فهرست منبع

Fixes PEP8 E401 CI error

Jeremy Stretch 9 سال پیش
والد
کامیت
498eb50f56
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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',