adjust message formatting

This commit is contained in:
gcarq 2017-11-09 20:25:17 +01:00
parent 80592970e9
commit 86501b43c0

View File

@ -372,7 +372,7 @@ def _performance(bot: Bot, update: Update) -> None:
.order_by(text('profit_sum DESC')) \
.all()
stats = '\n'.join('{index}. <code>{pair}\t{profit:.2f}%</code>'.format(
stats = '\n'.join('{index}.\t<code>{pair}\t{profit:.2f}%</code>'.format(
index=i + 1,
pair=pair,
profit=round(rate * 100, 2)