Skip to content

Commit 5b33889

Browse files
authored
Merge pull request #86 from sciris/flask_2_fix
Fix updated argument in Flask
2 parents b170daa + f180c2c commit 5b33889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scirisweb/sw_app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def _do_RPC(self, verbose=False):
576576
# because it is in use during the actual download, so we rely on
577577
# later cleanup to remove download files.
578578
else:
579-
response = send_file(bytesio, as_attachment=True, attachment_filename=output_name)
579+
response = send_file(bytesio, as_attachment=True, download_name=output_name)
580580
response.headers['filename'] = output_name
581581
print(response)
582582
return response # Return the response message.

0 commit comments

Comments
 (0)