fix verbose bool
This commit is contained in:
parent
eda6804d38
commit
b83944959b
1 changed files with 2 additions and 1 deletions
3
main.py
3
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
|
||||
|
|
Reference in a new issue