3
2
forked from Dniel97/artemis

Added config for reboot time support

This commit is contained in:
EmmyHeart 2023-10-16 13:22:18 +00:00
parent 9cff321857
commit 4f0a5f60ab

View File

@ -85,6 +85,18 @@ class TitleConfig:
self.__config, "core", "title", "port", default=8080
)
@property
def reboot_start_time(self) -> str:
return CoreConfig.get_config_field(
self.__config, "core", "title", "reboot_start_time", default=""
)
@property
def reboot_end_time(self) -> str:
return CoreConfig.get_config_field(
self.__config, "core", "title", "reboot_end_time", default=""
)
class DatabaseConfig:
def __init__(self, parent_config: "CoreConfig") -> None: