fix string to bool
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kim Oliver Drechsel 2021-08-08 14:15:26 +02:00
parent 600558c9c0
commit ceba9ff0e3

View File

@ -7,6 +7,8 @@ import colorlog
def loghandler():
debug_mode = os.getenv('DEBUG_MODE', False)
if debug_mode.lower() == "false":
debug_mode = False
_logger = colorlog.getLogger(__name__)
if debug_mode: