Remove state attr from Worker

This commit is contained in:
hroff-1902
2020-01-29 17:08:36 +03:00
parent e1356fb80e
commit 68771a7861
3 changed files with 6 additions and 14 deletions

View File

@@ -56,14 +56,6 @@ class Worker:
self._sd_notify = sdnotify.SystemdNotifier() if \
self._config.get('internals', {}).get('sd_notify', False) else None
@property
def state(self) -> State:
return self.freqtrade.state
@state.setter
def state(self, value: State) -> None:
self.freqtrade.state = value
def run(self) -> None:
state = None
while True: