Fix line-length

This commit is contained in:
Matthias
2023-12-23 15:30:24 +01:00
parent 68f9402384
commit a39b329e3b
+2 -1
View File
@@ -1307,7 +1307,8 @@ class FreqtradeBot(LoggingMixin):
:return: None :return: None
""" """
# If all stoploss orderd are canceled for some reason we add it again # If all stoploss orderd are canceled for some reason we add it again
canceled_sl_orders = [o for o in stoploss_orders if o['status'] in ['canceled', 'cancelled']] canceled_sl_orders = [o for o in stoploss_orders
if o['status'] in ('canceled', 'cancelled')]
if ( if (
trade.is_open and trade.is_open and
len(stoploss_orders) > 0 and len(stoploss_orders) > 0 and