Skip to content

Commit

Permalink
fix send_from_directory param name
Browse files Browse the repository at this point in the history
  • Loading branch information
a.fazlyev authored and bulatovv committed Jan 14, 2025
1 parent 6bc1e13 commit a4989c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion excalibur/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,5 +260,5 @@ def download():
directory = os.path.join(os.getcwd(), datapath)
filename = os.path.basename(zipfile)
return send_from_directory(
directory=directory, filename=filename, as_attachment=True
directory=directory, path=filename, as_attachment=True
)

0 comments on commit a4989c8

Please sign in to comment.