This commit is contained in:
parent
600558c9c0
commit
ceba9ff0e3
@ -7,6 +7,8 @@ import colorlog
|
|||||||
|
|
||||||
def loghandler():
|
def loghandler():
|
||||||
debug_mode = os.getenv('DEBUG_MODE', False)
|
debug_mode = os.getenv('DEBUG_MODE', False)
|
||||||
|
if debug_mode.lower() == "false":
|
||||||
|
debug_mode = False
|
||||||
|
|
||||||
_logger = colorlog.getLogger(__name__)
|
_logger = colorlog.getLogger(__name__)
|
||||||
if debug_mode:
|
if debug_mode:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user