Trying to fix flake8 errors
This commit is contained in:
parent
b938c536fa
commit
e5676867a8
@ -180,8 +180,7 @@ class FreqtradeBot:
|
|||||||
Notify the user when the bot is stopped
|
Notify the user when the bot is stopped
|
||||||
and there are still open trades active.
|
and there are still open trades active.
|
||||||
"""
|
"""
|
||||||
open_trades = Trade.get_trades([Trade.is_open == 1,
|
open_trades = Trade.get_trades([Trade.is_open == 1]).all()
|
||||||
]).all()
|
|
||||||
|
|
||||||
if len(open_trades) != 0:
|
if len(open_trades) != 0:
|
||||||
msg = {
|
msg = {
|
||||||
|
Loading…
Reference in New Issue
Block a user