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 = ""