--- a/ckanext/ga_report/ga_model.py +++ b/ckanext/ga_report/ga_model.py @@ -360,4 +360,4 @@ val = int(entry.pageviews) if entry else 0 score += val/2 if val else 0 - return 0 + return score