Skip to content

Commit

Permalink
Resolve DeprecationWarning on Flask's send_file method
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 22, 2021
1 parent 61b8ad5 commit 9149ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireviz_web/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,5 @@ def wireviz_render(input_yaml: str, output_mimetype: str, output_filename: str)
io.BytesIO(payload),
mimetype=output_mimetype,
as_attachment=True,
attachment_filename=output_filename,
download_name=output_filename,
)

0 comments on commit 9149ce2

Please sign in to comment.