Skip to content
Snippets Groups Projects

WIP: Reforma importů

Closed Martin Mareš requested to merge mj/import into master
1 unresolved thread
Files
3
+ 1
1
@@ -304,7 +304,7 @@ def generic_import(round: db.Round, contest: Optional[db.Contest]):
out = imp.get_template()
resp = app.make_response(out)
resp.content_type = fmt.get_content_type()
resp.headers.add('Content-Disposition', 'attachment; filename=sablona.' + fmt.get_extension())
resp.headers.add('Content-Disposition', 'attachment; filename=OSMO-' + imp.template_basename + '.' + fmt.get_extension())
return resp
return render_template(
Loading