From 10e12ec1b9ded5a83cf7fc4f241f9e24655ccc0d Mon Sep 17 00:00:00 2001 From: gcarq Date: Fri, 8 Jun 2018 02:37:12 +0200 Subject: [PATCH] fix flake8 warning --- freqtrade/freqtradebot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index e0f71fea7..b7f646114 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -453,8 +453,10 @@ class FreqtradeBot(object): for trade in Trade.query.filter(Trade.open_order_id.isnot(None)).all(): try: - # FIXME: Somehow the query above returns results where the open_order_id is in fact None. - # This is probably because the record got updated via /forcesell in a different thread. + # FIXME: Somehow the query above returns results + # where the open_order_id is in fact None. + # This is probably because the record got + # updated via /forcesell in a different thread. if not trade.open_order_id: continue order = exchange.get_order(trade.open_order_id, trade.pair)