diff options
Diffstat (limited to '')
-rw-r--r-- | controller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.py b/controller.py index 0957692..73f0fc8 100644 --- a/controller.py +++ b/controller.py @@ -27,7 +27,7 @@ class Show: def calc(self, year, month): ssum = sql.functions.sum(SingleExpense.expense) - csum = sql.functions.sum(ConstExpense.expense) + csum = sql.functions.sum(ConstExpense.monthly) query = SingleExpense.of_month(month, year).\ group_by(SingleExpense.category_id).\ |