mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Appease black
This commit is contained in:
parent
b3f167ab62
commit
033bf05279
@ -129,7 +129,9 @@ class ServerInstance:
|
||||
try:
|
||||
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"
|
||||
)
|
||||
tz = "Europe/London"
|
||||
self.server_scheduler = BackgroundScheduler(timezone=str(tz))
|
||||
self.server_scheduler.start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user