From 53e587fba5ed57c7928d79ded7ef164b7e360ccf Mon Sep 17 00:00:00 2001 From: zediious Date: Sun, 9 Jun 2024 12:10:16 -0400 Subject: [PATCH] Prevvious PR append I often forget that the double or check does not work. Just check for a True string. --- config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings.py b/config/settings.py index 3777c1ff..9138fa11 100644 --- a/config/settings.py +++ b/config/settings.py @@ -257,7 +257,7 @@ # ** Settings for "raptorbot" app ** DISCORD_BOT_TOKEN: str = getenv('DISCORD_BOT_TOKEN') DISCORD_BOT_DESCRIPTION: str = getenv('DISCORD_BOT_DESCRIPTION') -RUN_BOT: bool = True if getenv('RUN_BOT') == 'True' or 'true' else False +RUN_BOT: bool = True if getenv('RUN_BOT') == 'True' else False # ** Celery Settings ** CELERY_BEAT_SCHEDULE = {