From b5d05722d11ff0877c98a436e9a831e3a1a9405c Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Tue, 19 Mar 2024 00:16:19 +0000 Subject: [PATCH] fix formatting? --- src/cogs/quote_quota.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/quote_quota.py b/src/cogs/quote_quota.py index c1e7d44..5e01883 100644 --- a/src/cogs/quote_quota.py +++ b/src/cogs/quote_quota.py @@ -37,7 +37,7 @@ class QuoteQuota(commands.Cog): """ def pct(v: int): - return f"{v / sum(counts) * 100:.1f}% ({v})" + return f"{v:.1f}% ({(v / 100) * sum(counts):0f})" fig, ax = plt.subplots() ax.pie(