From 15433b681caea701a7611470c1509bc7e2d304b9 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Wed, 19 Apr 2023 11:26:33 -0400 Subject: [PATCH] mai2: fix logging in put_card --- titles/mai2/schema/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titles/mai2/schema/item.py b/titles/mai2/schema/item.py index d64d954..81e817a 100644 --- a/titles/mai2/schema/item.py +++ b/titles/mai2/schema/item.py @@ -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