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