diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index 5941c3130..208123348 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -124,7 +124,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." )