fix(aurora): add a debug statement
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s

This commit is contained in:
Seaswimmer 2024-06-04 14:56:51 -04:00
parent 8ac735dafe
commit 0089625ef3
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -166,6 +166,7 @@ class Moderation(AuroraGuildModel):
@classmethod @classmethod
def from_result(cls, bot: Red, result: Iterable, guild_id: int) -> "Moderation": def from_result(cls, bot: Red, result: Iterable, guild_id: int) -> "Moderation":
if result[7] is not None: if result[7] is not None:
logger.debug(result[7])
hours, minutes, seconds = map(int, result[7].split(':')) hours, minutes, seconds = map(int, result[7].split(':'))
duration = timedelta(hours=hours, minutes=minutes, seconds=seconds) duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)
else: else: