From 2b99f83db305bdb469e99d38cd8aaed69b761122 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 3 May 2024 20:26:15 +0100 Subject: [PATCH] colour -> color --- src/cogs/election.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/election.py b/src/cogs/election.py index 20e87d9..a55ed33 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -51,7 +51,7 @@ class ElectionCog(commands.Cog): css: str = "\n".join([x.get_text() for x in soup.find_all("style")]) - def find_colour(style_name: str, want: str = "background-colour") -> str | None: + def find_colour(style_name: str, want: str = "background-color") -> str | None: self.log.info("Looking for style %r", style_name) index = css.index(style_name) + len(style_name) + 1 value = ""