Fix status format on ranking

This commit is contained in:
2023-06-10 20:45:35 +02:00
parent d6b2b266a9
commit 04880166e3
2 changed files with 8 additions and 4 deletions

View File

@@ -87,7 +87,12 @@ def get_benchmark(score, excel=False, html=False):
if html:
move_exreport()
excel_payload = (
"" if not excel else str(Path(benchmark.get_excel_file_name()).name)
""
if not excel
else url_for(
"results.download",
file_name=str(Path(benchmark.get_excel_file_name()).name),
)
)
html_payload = (
""