diff --git a/app/routes.py b/app/routes.py index ca58e751efc82bb118eb53ccdcaa66bcc8716336..0dfb009b35729c1d98206d63d66c6fafcabac6ce 100644 --- a/app/routes.py +++ b/app/routes.py @@ -180,10 +180,11 @@ def top10(): "SELECT plot_filename, {cat} FROM event_selection " "ORDER BY {cat} DESC LIMIT 10".format(cat=category)) if len(raw_data) > 0: + print(raw_data) top10[category_names[category]] = { "plot_filename": raw_data[0], "meta": { - category: raw_data[1] + "highscore": raw_data[1] }, } return render_template('top10.html', top10=top10)