From 126bf74ea0bde2b7647a01d7008fce4bc72dc86a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 12 Mar 2021 21:28:24 +0200 Subject: [PATCH] main.py: Remove comments --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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?