Change enum from 0 to 1 according to the documentation
see [here](https://docs.python.org/3/library/enum.html#functional-api)
This commit is contained in:
parent
a7db4d74cb
commit
fed3ebfb46
@ -3,13 +3,13 @@
|
|||||||
"""
|
"""
|
||||||
Bot state constant
|
Bot state constant
|
||||||
"""
|
"""
|
||||||
import enum
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
class State(enum.Enum):
|
class State(Enum):
|
||||||
"""
|
"""
|
||||||
Bot application states
|
Bot application states
|
||||||
"""
|
"""
|
||||||
RUNNING = 0
|
RUNNING = 1
|
||||||
STOPPED = 1
|
STOPPED = 2
|
||||||
RELOAD_CONF = 2
|
RELOAD_CONF = 3
|
||||||
|
Loading…
Reference in New Issue
Block a user