More readable user_account

This commit is contained in:
klmp200 committed 2016-10-19 01:57:54 +02:00
1 parent 029bc7cc7c
commit 224374f5e8
3 files changed
+10 -11

No files matched your search

+4 -4
View File
@@ -427,10 +427,10 @@ class UserAccountView(UserAccountBase):
date__year=month.year,
date__month=month.month
)
stats[i].append((
sum([calc(p) for p in q]),
month
))
stats[i].append({
'sum':sum([calc(p) for p in q]),
'date':month
})
i += 1
return stats