Skip to content

Commit

Permalink
Move return statement to correct intend
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Sep 1, 2019
1 parent 6aab3fe commit 9d7ebc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freqtrade/freqtradebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def create_stoploss_order(self, trade: Trade, stop_price: float, rate: float) ->
except DependencyException:
trade.stoploss_order_id = None
logger.exception('Unable to place a stoploss order on exchange.')
return False
return False

def handle_stoploss_on_exchange(self, trade: Trade) -> bool:
"""
Expand Down

0 comments on commit 9d7ebc6

Please sign in to comment.