Add select row to best report

This commit is contained in:
2023-06-06 01:05:05 +02:00
parent eb8b0d3554
commit eed8f12e4a
3 changed files with 5 additions and 2 deletions

View File

@@ -79,7 +79,10 @@ def best(file_name):
with open(os.path.join(Folders.results, file_name)) as f:
data = json.load(f)
except Exception as e:
return render_template("error.html", message=str(e))
return render_template(
"error.html",
message=f"This best results file ({file_name}) has not been created yet!",
)
return render_template("best.html", data=data)