Skip to content

Commit

Permalink
Correct send_file invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Dec 14, 2022
1 parent 335acc6 commit b71ba34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def download():
if not filename:
filename = u'yyyy-mm-dd-your-title-here.md'
return send_file(md,
attachment_filename=filename,
download_name=filename,
as_attachment=True)


Expand Down

0 comments on commit b71ba34

Please sign in to comment.