From a6f2d5b414be5067570b77820aa712d9556b59bf 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 5699962b5..c88e9d05e 100644 --- a/netbox/netbox/settings.py +++ b/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." )