fix: [flask senf_file] fix decoded download

pull/594/head
Terrtia 2023-04-21 10:49:36 +02:00
parent 6338268e8c
commit c8ca3ecc58
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def decoded_download():
if decoded.exists():
filename = f'{decoded.id}.zip'
zip_content = decoded.get_zip_content()
return send_file(zip_content, attachment_filename=filename, as_attachment=True)
return send_file(zip_content, download_name=filename, as_attachment=True)
else:
abort(404)