updated old logic

This commit is contained in:
Kavinkumar 2022-02-28 18:14:03 +05:30 committed by GitHub
parent 80cad96927
commit 2f81785d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ class Worker:
# Log state transition # Log state transition
if state != old_state: if state != old_state:
if state != State.RELOAD_CONFIG or ( if old_state != State.RELOAD_CONFIG or (
old_state == State.RELOAD_CONFIG and old_state == State.RELOAD_CONFIG and
state != State.RUNNING): state != State.RUNNING):
self.freqtrade.notify_status(f'{state.name.lower()}') self.freqtrade.notify_status(f'{state.name.lower()}')