forked from ScoDoc/ScoDoc
Fix: content-type of page with SVG graph
This commit is contained in:
parent
eba7e17628
commit
769671b0d4
@ -1594,7 +1594,6 @@ def formsemestre_graph_parcours(
|
||||
% MAX_ETUD_IN_DESCR,
|
||||
html_sco_header.sco_footer(context, REQUEST),
|
||||
]
|
||||
REQUEST.RESPONSE.setHeader("content-type", "application/xhtml+xml")
|
||||
return "\n".join(H)
|
||||
else:
|
||||
raise ValueError("invalid format: %s" % format)
|
||||
|
Loading…
Reference in New Issue
Block a user