fix wrong variable (good thing i didnt pull to prod lol)

pull/2/head
Aevann1 2022-11-22 23:58:57 +02:00
parent 8776cbca53
commit 8b57b5dc9d
1 changed files with 1 additions and 1 deletions

View File

@ -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)