Update ereuse_devicehub/resources/documents/documents.py
Co-authored-by: Jordi Nadeu <j.nadeu@ereuse.org>
This commit is contained in:
parent
5af22b6ec6
commit
e40b297f3b
|
@ -331,7 +331,7 @@ class WbConfDocumentView(DeviceView):
|
||||||
|
|
||||||
env = flask.render_template('documents/wbSettings.ini', **data)
|
env = flask.render_template('documents/wbSettings.ini', **data)
|
||||||
output = make_response(env)
|
output = make_response(env)
|
||||||
output.headers['Content-Disposition'] = 'attachment; filename=Configuration.ini'
|
output.headers['Content-Disposition'] = 'attachment; filename=settings.ini'
|
||||||
output.headers['Content-type'] = 'text/plain'
|
output.headers['Content-type'] = 'text/plain'
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
Reference in New Issue