csv_metadata_quality_web/main.py: fix bytes

We need to decode the base64name to get a string instead of bytes.
This commit is contained in:
Alan Orth 2025-01-31 11:50:32 +03:00
parent c15a68f2d1
commit a483e3aa65
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -107,7 +107,7 @@ def process():
with open(results_html_file, "w") as fh: with open(results_html_file, "w") as fh:
fh.write(results_html) fh.write(results_html)
return redirect(url_for("results", base64slug=base64name)) return redirect(url_for("results", base64slug=base64name.decode("ascii")))
return "No file selected" return "No file selected"