From b83944959b83d318fa7aa8db348b111729cb1124 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 9 Aug 2022 02:54:16 +0200 Subject: [PATCH] fix verbose bool --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 6a36d9c..9110f01 100644 --- a/main.py +++ b/main.py @@ -15,7 +15,8 @@ def load(variables) -> dict: try: if var == "VERBOSE": # check is VERBOSE is set try: - res = bool(environ[var]) + if environ[var].lower() == "true": + res = True except: res = False # if not its False elif var == "WHITELIST": # check if WHITELIST is set