moonraker: add method to retreive warnings
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
b85f3081ab
commit
8bb020edc6
|
@ -118,6 +118,9 @@ class Server:
|
|||
def get_api_version(self) -> Tuple[int, int, int]:
|
||||
return API_VERSION
|
||||
|
||||
def get_warnings(self) -> List[str]:
|
||||
return self.warnings
|
||||
|
||||
def is_running(self) -> bool:
|
||||
return self.server_running
|
||||
|
||||
|
|
Loading…
Reference in New Issue