mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-11 23:04:00 +02:00
fixes from runtime
This commit is contained in:
parent
f922edf042
commit
96bf23662e
2 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ class Shop:
|
|||
# We assume all debt accounts share a currency
|
||||
sumselect = """
|
||||
SELECT SUM(crbalance)
|
||||
FROM accounts WHERE acctype = %s AND
|
||||
FROM accounts WHERE acctype = %s
|
||||
"""
|
||||
cur = self.db.execute_and_fetch(sumselect, ["debt"])
|
||||
cur = cur[0] or 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue