From 647534a4f81b42c0e5b944fc0aa992aea53b51c3 Mon Sep 17 00:00:00 2001 From: Misagh Date: Thu, 4 Apr 2019 17:17:21 +0200 Subject: [PATCH] flake8 --- freqtrade/freqtradebot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index acff0761b..9bd3384fa 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -699,7 +699,6 @@ class FreqtradeBot(object): except DependencyException as exception: logger.warning('Unable to fetch stoploss order: %s', exception) - # If trade open order id does not exist, # it means buy order is fulfilled buy_order_fulfilled = not trade.open_order_id @@ -734,7 +733,6 @@ class FreqtradeBot(object): except DependencyException as exception: logger.warning('Unable to place a stoploss order on exchange: %s', exception) - # If stoploss order is canceled for some reason we add it if stoploss_order and stoploss_order['status'] == 'canceled': try: @@ -745,7 +743,8 @@ class FreqtradeBot(object): trade.stoploss_order_id = str(stoploss_order_id) return False except DependencyException as exception: - logger.warning('Stoploss order was cancelled, but unable to recreate one: %s', exception) + logger.warning('Stoploss order was cancelled, ' + 'but unable to recreate one: %s', exception) # We check if stoploss order is fulfilled if stoploss_order and stoploss_order['status'] == 'closed':