mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2025-02-03 00:42:51 +01:00
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:
parent
c15a68f2d1
commit
a483e3aa65
@ -107,7 +107,7 @@ def process():
|
||||
with open(results_html_file, "w") as fh:
|
||||
fh.write(results_html)
|
||||
|
||||
return redirect(url_for("results", base64slug=base64name))
|
||||
return redirect(url_for("results", base64slug=base64name.decode("ascii")))
|
||||
|
||||
return "No file selected"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user