diff --git a/src/cogs/election.py b/src/cogs/election.py index 069085d..e972680 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -49,7 +49,7 @@ class ElectionCog(commands.Cog): if not good_soup: return - css: str = "\n".join([x.get_text() for x in good_soup.find_all("style")]) + 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: self.log.info("Looking for style %r", style_name)