Skip to content
Snippets Groups Projects
Commit 792d0910 authored by David Huss's avatar David Huss :speech_balloon:
Browse files

Fix the way logger is aquired

parent ac27efda
No related branches found
No related tags found
No related merge requests found
......@@ -332,10 +332,11 @@ def update_id_patterns() -> 'Config':
# config["client"]["id_patterns"]
def main():
logging.info('Starting main() in {}'.format(APPLICATION_NAME))
logger = logging.getLogger(APPLICATION_NAME)
logger.info('Starting main() in {}'.format(APPLICATION_NAME))
# Initialize the configuration (create a default one if needed)
config, logger = initialize_config()
config = initialize_config(logger)
# Create an input queue that stores all incoming keyboard events
# and process them on a seperate thread
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment