Shop: not array

This commit is contained in:
Dominik Pantůček 2025-07-12 17:42:32 +02:00
parent 343df879fb
commit 557d36cac3

View file

@ -35,7 +35,7 @@ class Shop:
[item.id, amount, user.id, self.currency.id,
"BrmBar sale of {0}x {1} to {2}".format(amount, item.name, user.name)]
)#[0]
logger.debug("sell: res=%s", res)
logger.debug("sell: res[0]=%s", res[0])
cost = res[0]
self.db.commit()
return cost