diff --git a/src/utils/core.py b/src/utils/core.py index e8c9b2b..1542217 100644 --- a/src/utils/core.py +++ b/src/utils/core.py @@ -171,12 +171,13 @@ def load(variables): load_dotenv() # load .env file for var in variables: try: - res = environ[var] if var == "DOCKER_KASSOUBOT": # check is VERBOSE is set try: res = bool(environ[var]) except: res = False # if not its False + else: + res = environ[var] if var == "DEACTIVATE": res = list(set(res.split(',')) - {""}) # create a list for the cogs we need to deactivate and remove blank channels and doubles keys[var] = res