From 9c9b3fe2e6b4966d9e5ac27be66d10a90ac61e21 Mon Sep 17 00:00:00 2001 From: Kim Date: Sun, 8 Aug 2021 14:16:30 +0200 Subject: [PATCH] fix string to bool --- loghandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loghandler.py b/loghandler.py index 2c623fe..4844263 100644 --- a/loghandler.py +++ b/loghandler.py @@ -6,7 +6,7 @@ import colorlog def loghandler(): - debug_mode = os.getenv('DEBUG_MODE', False) + debug_mode = os.getenv('DEBUG_MODE', "False") if debug_mode.lower() == "false": debug_mode = False