Trying to fix flake8 errors

This commit is contained in:
Theagainmen 2020-06-27 21:53:12 +02:00
parent b938c536fa
commit e5676867a8
1 changed files with 1 additions and 2 deletions

View File

@ -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 = {