From 378883df2be2d783ea12a63a8da65fcb1c198e50 Mon Sep 17 00:00:00 2001 From: Sander Steffann Date: Sun, 3 Nov 2019 16:12:39 +0300 Subject: [PATCH] Fix code for PEP8 --- netbox/netbox/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." )