Remove tzlocal warning

Updated requirements
This commit is contained in:
Ozzie Isaacs
2024-09-16 17:25:37 +02:00
parent d0e166140f
commit 78d45f0208
2 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ class BackgroundScheduler:
if cls._instance is None:
cls._instance = super(BackgroundScheduler, cls).__new__(cls)
cls.log = logger.create()
logger.logging.getLogger('tzlocal').setLevel(logger.logging.WARNING)
cls.scheduler = BScheduler()
cls.scheduler.start()