forked from Hay1tsme/artemis
mai2: fix logging in put_card
This commit is contained in:
parent
b0042bc776
commit
15433b681c
@ -438,7 +438,7 @@ class Mai2ItemData(BaseData):
|
|||||||
result = self.execute(conflict)
|
result = self.execute(conflict)
|
||||||
if result is None:
|
if result is None:
|
||||||
self.logger.warn(
|
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 None
|
||||||
return result.lastrowid
|
return result.lastrowid
|
||||||
|
Loading…
Reference in New Issue
Block a user