logging bugfix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-21 22:44:51 -04:00
parent d0a6b98ddc
commit 437c093adf

View File

@@ -8,5 +8,7 @@ def appLogger(name):
screen_handler.setFormatter(formatter)
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)
if (logger.hasHandlers()):
logger.handlers.clear()
logger.addHandler(screen_handler)
return logger