forked from brmlab/brmbar-github
Shop: not array
This commit is contained in:
parent
343df879fb
commit
557d36cac3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue