Fix black

This commit is contained in:
Zedifus 2022-06-13 19:41:25 +01:00
parent 033bf05279
commit 6962662ce5

View File

@ -46,7 +46,9 @@ class TasksManager:
try:
self.tz = get_localzone()
except ZoneInfoNotFoundError:
logger.error("Could not capture time zone from system. Falling back to Europe/London")
logger.error(
"Could not capture time zone from system. Falling back to Europe/London"
)
self.tz = "Europe/London"
self.scheduler = BackgroundScheduler(timezone=str(self.tz))