diff --git a/analytics.py b/analytics.py index 805df9f..6c2a468 100644 --- a/analytics.py +++ b/analytics.py @@ -316,7 +316,6 @@ def dashboard(): location_data = location_data[:20] # Convert the top-files rows to a list of dictionaries - # (just for consistency in passing to template). rows = [dict(rel_path=r[0], access_count=r[1]) for r in rows] return render_template( diff --git a/templates/dashboard.html b/templates/dashboard.html index 2aa2175..375270a 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -151,8 +151,8 @@
{% for row in rows %}