coins: fix 24h change

This commit is contained in:
jkhsjdhjs 2025-02-25 21:08:16 +00:00
parent 6a9bf7456b
commit 27c537b15a

View File

@ -106,6 +106,6 @@ class Coins(Plugin):
'Market Cap: \x02\x0307{market_cap}\x0F' \
.format(crypto=crypto.upper(),
price=to_currency(data[currency]),
change=data[f'{currency}_24h_change'] * 100,
change=data[f'{currency}_24h_change'],
volume=data[f'{currency}_24h_vol'],
market_cap=to_currency(data[f'{currency}_market_cap'])))