🐛 fix broken file upload
All checks were successful
ci / docker (push) Successful in 1m18s

This commit is contained in:
Finn Christiansen 2023-11-09 21:48:18 +01:00
parent f440b1becc
commit 28073593d3

View file

@ -47,7 +47,7 @@ def addreminder():
new_ics.seek(0) new_ics.seek(0)
new_filename = file.filename.rstrip('.ics') + '_with_reminders' + '.ics' new_filename = file.filename.rstrip('.ics') + '_with_reminders' + '.ics'
return send_file(new_ics, as_attachment=True, return send_file(new_ics, as_attachment=True,
attachment_filename=new_filename) download_name=new_filename)
class IcsForm(FlaskForm): class IcsForm(FlaskForm):