diff --git a/nummi/main/views.py b/nummi/main/views.py index f26fee3..e4fe9c2 100644 --- a/nummi/main/views.py +++ b/nummi/main/views.py @@ -178,7 +178,7 @@ def snapshot(request, uuid=None): ) context["cat_lim"] = max( map( - abs, + lambda x: abs(x) if x else 0, context["categories"] .aggregate( max=models.Max("sum_p"),