From 1b322dfe50cb435cde8b974347a15a3910b3a757 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 14:29:09 -0400 Subject: [PATCH] fix(aurora): actually actually fixed the broken logging statement --- aurora/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aurora/models.py b/aurora/models.py index 4dfa38a..091ff03 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -1,5 +1,6 @@ import sqlite3 from datetime import datetime, timedelta +from itertools import chain from time import time from typing import Any, Dict, List, Literal, Optional, Union @@ -244,7 +245,7 @@ class Moderation(AuroraGuildModel): logger.debug( "Row inserted into moderation_%s!\n%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s", - tuple(guild_id, case_safe.values()) + tuple(chain({"guild_id": guild_id}.values() + case_safe.values())) ) return cls.from_dict(bot=bot, **case)