From 360fd4d164bdb17c73d623a266e7eda39a6f1f21 Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Tue, 17 Dec 2024 00:17:38 +0000 Subject: [PATCH] coins: display currency name in upper case --- bot/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/coins.py b/bot/coins.py index 0664a67..7c3c439 100644 --- a/bot/coins.py +++ b/bot/coins.py @@ -10,7 +10,7 @@ def _currency(name, prefix=None, suffix=None): def tostr(value): return '{prefix}{value:,.2f}{suffix}'.format( prefix=prefix or '', - suffix=suffix or ('' if (prefix or suffix) else (' ' + name)), + suffix=suffix or ('' if (prefix or suffix) else (' ' + name.upper())), value=value) return tostr