mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
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
|
||||
"""
|
||||
import enum
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class State(enum.Enum):
|
||||
class State(Enum):
|
||||
"""
|
||||
Bot application states
|
||||
"""
|
||||
RUNNING = 0
|
||||
STOPPED = 1
|
||||
RELOAD_CONF = 2
|
||||
RUNNING = 1
|
||||
STOPPED = 2
|
||||
RELOAD_CONF = 3
|
||||
|
|
Loading…
Reference in New Issue
Block a user