From 5be5a39c54a055c610ab7808e6cf878f95c511a4 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 15:06:10 -0400 Subject: [PATCH] fix(aurora): check type of dictionary in debug log --- aurora/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/models.py b/aurora/models.py index 7f32944..20b1bf4 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -277,7 +277,7 @@ class Change(AuroraBaseModel): @classmethod def from_dict(cls, bot: Red, data: dict) -> "Change": - logger.debug("Creating Change from dict: %s", data) + logger.debug("Creating Change from dict (%s): %s", type(data), data) if "duration" in data and data["duration"] and not isinstance(data["duration"], timedelta): hours, minutes, seconds = map(int, data["duration"].split(':')) duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)