log parsed
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 8s

This commit is contained in:
Nexus 2024-05-03 20:25:30 +01:00
parent 3ed2b2b9e4
commit ed6689bc3d
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -64,8 +64,11 @@ class ElectionCog(commands.Cog):
for attr in attributes:
name, val = attr.split(":")
parsed[name] = val
self.log.info("Parsed the following attributes: %r", parsed)
if want in parsed:
self.log.info("Returning %r: %r", want, parsed[want])
return parsed[want]
self.log.warning("%r was not in attributes.", want)
results: dict[str, list[int]] = {}
for child_ul in good_soup.children: