use Fstrings for log message

This commit is contained in:
Matthias 2023-04-21 07:08:14 +02:00
parent 1056ff0d18
commit ca1a616b89

View File

@ -1425,7 +1425,7 @@ class FreqtradeBot(LoggingMixin):
corder = order
reason = constants.CANCEL_REASON['CANCELLED_ON_EXCHANGE']
logger.info('%s order %s for %s.', side, reason, trade)
logger.info(f'{side} order {reason} for {trade}.')
# Using filled to determine the filled amount
filled_amount = safe_value_fallback2(corder, order, 'filled', 'filled')