Revert "stop spamming the console"

This reverts commit 3cd1734390.
pull/2/head
Aevann1 2022-11-22 23:42:52 +02:00
parent 1e4e0c5391
commit 3ecb79d1d3
1 changed files with 4 additions and 0 deletions

View File

@ -1692,3 +1692,7 @@ if SITE_NAME == 'rDrama':
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:
from warnings import warn
warn("Secret key is the default value! Please change it to a secure random number. Thanks <3", RuntimeWarning)