Remove whitespace. Darn IntelliJ.

This commit is contained in:
Reigo Reinmets 2021-12-22 11:43:48 +02:00
parent e439ae1fea
commit d70ddeef9a

View File

@ -1396,7 +1396,7 @@ class FreqtradeBot(LoggingMixin):
# Updating wallets when order is closed
if order['status'] in constants.NON_OPEN_EXCHANGE_STATES:
self.wallets.update()
if not trade.is_open:
if send_msg and not stoploss_order and not trade.open_order_id:
self._notify_exit(trade, '', True)