forked from Hay1tsme/artemis
Added config for reboot time support
This commit is contained in:
parent
9cff321857
commit
4f0a5f60ab
@ -85,6 +85,18 @@ class TitleConfig:
|
|||||||
self.__config, "core", "title", "port", default=8080
|
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:
|
class DatabaseConfig:
|
||||||
def __init__(self, parent_config: "CoreConfig") -> None:
|
def __init__(self, parent_config: "CoreConfig") -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user