mai2: fix logging in put_card

This commit is contained in:
Hay1tsme 2023-04-19 11:26:33 -04:00
parent b0042bc776
commit 15433b681c

View File

@ -438,7 +438,7 @@ class Mai2ItemData(BaseData):
result = self.execute(conflict)
if result is None:
self.logger.warn(
f"put_card: failed to insert card! user_id: {user_id}, kind: {kind}"
f"put_card: failed to insert card! user_id: {user_id}, kind: {card_kind}"
)
return None
return result.lastrowid