summaryrefslogtreecommitdiff
path: root/app/views/stats.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/views/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stats.py b/app/views/stats.py
index 639f73b..9ff81a1 100644
--- a/app/views/stats.py
+++ b/app/views/stats.py
@@ -45,7 +45,7 @@ def show():
consts[date_to_ms(cur)] += e.monthly
cur = next_date(cur)
- consts = list(sorted(consts.iteritems()))
+ consts = list(sorted(consts.items()))
expQuery = SingleExpense.of(current_user)\
.group_by(SingleExpense.year, SingleExpense.month)\