diff --git a/main.py b/main.py index 11541a6..8d6092b 100644 --- a/main.py +++ b/main.py @@ -39,11 +39,9 @@ def upload_file(): 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/") def process_file(base64slug): - # get filename from base64-encoded filename + # get filename from base64-encoded slug filename = b64decode(base64slug).decode("ascii") # do we need to use secure_filename again here?