feat: add paused state to State class
This commit is contained in:
@@ -7,8 +7,9 @@ class State(Enum):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
RUNNING = 1
|
RUNNING = 1
|
||||||
STOPPED = 2
|
PAUSED = 2
|
||||||
RELOAD_CONFIG = 3
|
STOPPED = 3
|
||||||
|
RELOAD_CONFIG = 4
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f"{self.name.lower()}"
|
return f"{self.name.lower()}"
|
||||||
|
|||||||
Reference in New Issue
Block a user