mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2024-11-30 02:18:20 +01:00
main.py: Remove comments
This commit is contained in:
parent
54ea340b80
commit
126bf74ea0
4
main.py
4
main.py
@ -39,11 +39,9 @@ def upload_file():
|
|||||||
return "No file selected"
|
return "No file selected"
|
||||||
|
|
||||||
|
|
||||||
# TODO: probably use a base64- and URL-encoded version of the filename here so
|
|
||||||
# we can allow results to be saved and shared?
|
|
||||||
@app.route("/result/<base64slug>")
|
@app.route("/result/<base64slug>")
|
||||||
def process_file(base64slug):
|
def process_file(base64slug):
|
||||||
# get filename from base64-encoded filename
|
# get filename from base64-encoded slug
|
||||||
filename = b64decode(base64slug).decode("ascii")
|
filename = b64decode(base64slug).decode("ascii")
|
||||||
|
|
||||||
# do we need to use secure_filename again here?
|
# do we need to use secure_filename again here?
|
||||||
|
Loading…
Reference in New Issue
Block a user