fix wrong variable (good thing i didnt pull to prod lol)
parent
8776cbca53
commit
8b57b5dc9d
|
@ -1693,6 +1693,6 @@ IMAGE_FORMATS = ['png','gif','jpg','jpeg','webp']
|
|||
VIDEO_FORMATS = ['mp4','webm','mov','avi','mkv','flv','m4v','3gp']
|
||||
AUDIO_FORMATS = ['mp3','wav','ogg','aac','m4a','flac']
|
||||
|
||||
if not is_localhost and SECRET_KEY == DEFAULT_CONFIG_VALUE:
|
||||
if not IS_LOCALHOST and SECRET_KEY == DEFAULT_CONFIG_VALUE:
|
||||
from warnings import warn
|
||||
warn("Secret key is the default value! Please change it to a secure random number. Thanks <3", RuntimeWarning)
|
||||
|
|
Loading…
Reference in New Issue