mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Fix black
This commit is contained in:
parent
033bf05279
commit
6962662ce5
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user