diff --git a/src/wallman_lib.py b/src/wallman_lib.py index f8034e9..8ee82b7 100644 --- a/src/wallman_lib.py +++ b/src/wallman_lib.py @@ -7,6 +7,7 @@ from datetime import datetime, time from apscheduler.triggers.cron import CronTrigger # Setup Logging. NOTE: Declaration as a global variable is necessary to ensure correct functionality across multiple modules. +global logger logger = logging.getLogger("wallman") class ConfigError(Exception):