ソースを参照

Fix code for PEP8

Sander Steffann 6 年 前
コミット
a6f2d5b414
1 ファイル変更1 行追加1 行削除
  1. 1 1
      netbox/netbox/settings.py

+ 1 - 1
netbox/netbox/settings.py

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