diff --git a/app/app.db b/app/app.db index 09af5f0..74aceb9 100644 Binary files a/app/app.db and b/app/app.db differ diff --git a/app/results/main_select.py b/app/results/main_select.py index fb57dd1..91fdb59 100644 --- a/app/results/main_select.py +++ b/app/results/main_select.py @@ -81,7 +81,9 @@ def best(file_name): except Exception as e: return render_template( "error.html", - message=f"This best results file ({file_name}) has not been created yet!", + message=f"This best results file ({file_name}) has not been " + "created yet! or...", + error=str(e), ) return render_template("best.html", data=data) diff --git a/app/results/templates/error.html b/app/results/templates/error.html index 7dab134..99a59d3 100644 --- a/app/results/templates/error.html +++ b/app/results/templates/error.html @@ -239,7 +239,7 @@
Error

{{ message }}
- +
{{ error }}
Go Back diff --git a/app/static/js/select.js b/app/static/js/select.js index 737028a..82ec58e 100644 --- a/app/static/js/select.js +++ b/app/static/js/select.js @@ -32,7 +32,7 @@ $(document).ready(function () { }); // Show file with doubleclick $("#file-table tbody").on("dblclick", "tr", function () { - showFile($(this).attr("id")); + location.href="/results/report/"+ $(this).attr("id"); }); $(document).ajaxStart(function () { $("body").addClass("ajaxLoading");