fix(aurora): actually actually fixed the broken logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s

This commit is contained in:
Seaswimmer 2024-05-06 14:29:09 -04:00
parent 5b6b04dfe0
commit 1b322dfe50
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -1,5 +1,6 @@
import sqlite3 import sqlite3
from datetime import datetime, timedelta from datetime import datetime, timedelta
from itertools import chain
from time import time from time import time
from typing import Any, Dict, List, Literal, Optional, Union from typing import Any, Dict, List, Literal, Optional, Union
@ -244,7 +245,7 @@ class Moderation(AuroraGuildModel):
logger.debug( logger.debug(
"Row inserted into moderation_%s!\n%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s", "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) return cls.from_dict(bot=bot, **case)