From: Ross Jones Date: Thu, 08 Nov 2012 15:27:34 +0000 Subject: Actually returning the score instead of 0 X-Git-Url: https://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=4a81aca56dfbca1a227d7a6f903ca1b00c81208e --- Actually returning the score instead of 0 --- --- 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