From 6c44b8df463ec6a0f5f8d0fa9c47f32dd33bcdfd Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Sun, 24 Nov 2019 13:40:39 +0100
Subject: [PATCH] Add debug

---
 app/routes.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/routes.py b/app/routes.py
index ca58e75..0dfb009 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)
-- 
GitLab