From 28073593d3619e150c244864293f3de4516a3882 Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Thu, 9 Nov 2023 21:48:18 +0100 Subject: [PATCH] :bug: fix broken file upload --- app/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.py b/app/index.py index 5f8a15b..255a667 100644 --- a/app/index.py +++ b/app/index.py @@ -47,7 +47,7 @@ def addreminder(): new_ics.seek(0) new_filename = file.filename.rstrip('.ics') + '_with_reminders' + '.ics' return send_file(new_ics, as_attachment=True, - attachment_filename=new_filename) + download_name=new_filename) class IcsForm(FlaskForm):