diff options
Diffstat (limited to '')
-rw-r--r-- | controller.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/controller.py b/controller.py index 73f0fc8..f9bd27c 100644 --- a/controller.py +++ b/controller.py @@ -26,6 +26,9 @@ class Show: def calc(self, year, month): + year = int(year) + month = int(month) + ssum = sql.functions.sum(SingleExpense.expense) csum = sql.functions.sum(ConstExpense.monthly) |