colour -> color
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 10s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 10s
This commit is contained in:
parent
ed6689bc3d
commit
2b99f83db3
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class ElectionCog(commands.Cog):
|
||||||
|
|
||||||
css: str = "\n".join([x.get_text() for x in 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:
|
def find_colour(style_name: str, want: str = "background-color") -> str | None:
|
||||||
self.log.info("Looking for style %r", style_name)
|
self.log.info("Looking for style %r", style_name)
|
||||||
index = css.index(style_name) + len(style_name) + 1
|
index = css.index(style_name) + len(style_name) + 1
|
||||||
value = ""
|
value = ""
|
||||||
|
|
Loading…
Reference in a new issue