forked from ScoDoc/ScoDoc
excel file returned
This commit is contained in:
parent
7f63ab222b
commit
c8872bd220
@ -70,7 +70,7 @@ def send_from_flask(data, filename, mime=scu.XLSX_MIMETYPE):
|
||||
response = make_response(data)
|
||||
response.headers['Content-Type'] = mime
|
||||
response.headers['Content-Disposition'] = 'attachment; filename="%s"' % filename
|
||||
|
||||
return response
|
||||
|
||||
def send_excel_file(request, data, filename, mime=scu.XLSX_MIMETYPE):
|
||||
"""publication fichier.
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user