From ed6689bc3d7b14232e3148d9fb148e2371501125 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 3 May 2024 20:25:30 +0100 Subject: [PATCH] log parsed --- src/cogs/election.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cogs/election.py b/src/cogs/election.py index e972680..20e87d9 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -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: