From b23746d0391d7db7f1415f115208b1715e741793 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Thu, 12 Sep 2024 11:17:10 -0400 Subject: [PATCH] Fix missing change from #2529 A small, hard to notice change was present in my suggestion that wasn't picked up. --- sponsors/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponsors/admin.py b/sponsors/admin.py index 251384370..e16cffbc6 100644 --- a/sponsors/admin.py +++ b/sponsors/admin.py @@ -212,7 +212,7 @@ def get_benefit_split(self, obj: SponsorshipPackage) -> str: for i, (name, pct) in enumerate(split): pct_str = f"{pct:.0f}%" widths.append(pct_str) - spans.append(f"{pct_str}") + spans.append(f"{pct_str}") # define a style that will show our span elements like a single horizontal stacked bar chart style = f'color:#fff;text-align:center;cursor:pointer;display:grid;grid-template-columns:{" ".join(widths)}' # wrap it all up and put a bow on it