From fed3ebfb468d4ce28346eb9860ba8449e202b122 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 25 Dec 2018 14:05:40 +0100 Subject: [PATCH] Change enum from 0 to 1 according to the documentation see [here](https://docs.python.org/3/library/enum.html#functional-api) --- freqtrade/state.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/freqtrade/state.py b/freqtrade/state.py index 42bfb6e41..4845b72f0 100644 --- a/freqtrade/state.py +++ b/freqtrade/state.py @@ -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