소스 검색

Fixes PEP8 E401 CI error

Jeremy Stretch 10 년 전
부모
커밋
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',