Skip to content

Commit 3fd716e

Browse files
committed
fix send_from_directory param name
1 parent 6bc1e13 commit 3fd716e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

excalibur/www/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,5 +260,5 @@ def download():
260260
directory = os.path.join(os.getcwd(), datapath)
261261
filename = os.path.basename(zipfile)
262262
return send_from_directory(
263-
directory=directory, filename=filename, as_attachment=True
263+
directory=directory, path=filename, as_attachment=True
264264
)

0 commit comments

Comments
 (0)