Parcourir la source

Fix code for PEP8

Sander Steffann il y a 6 ans
Parent
commit
a6f2d5b414
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      netbox/netbox/settings.py

+ 1 - 1
netbox/netbox/settings.py

@@ -119,7 +119,7 @@ DATABASES = {
 #
 
 if MEDIA_STORAGE:
-    if not 'BACKEND' in MEDIA_STORAGE:
+    if 'BACKEND' not in MEDIA_STORAGE:
         raise ImproperlyConfigured(
             "Required parameter BACKEND is missing from MEDIA_STORAGE in configuration.py."
         )