log parsed
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s
This commit is contained in:
parent
3ed2b2b9e4
commit
ed6689bc3d
1 changed files with 3 additions and 0 deletions
|
@ -64,8 +64,11 @@ class ElectionCog(commands.Cog):
|
||||||
for attr in attributes:
|
for attr in attributes:
|
||||||
name, val = attr.split(":")
|
name, val = attr.split(":")
|
||||||
parsed[name] = val
|
parsed[name] = val
|
||||||
|
self.log.info("Parsed the following attributes: %r", parsed)
|
||||||
if want in parsed:
|
if want in parsed:
|
||||||
|
self.log.info("Returning %r: %r", want, parsed[want])
|
||||||
return parsed[want]
|
return parsed[want]
|
||||||
|
self.log.warning("%r was not in attributes.", want)
|
||||||
|
|
||||||
results: dict[str, list[int]] = {}
|
results: dict[str, list[int]] = {}
|
||||||
for child_ul in good_soup.children:
|
for child_ul in good_soup.children:
|
||||||
|
|
Loading…
Reference in a new issue