diff --git a/sco_report.py b/sco_report.py index 26ebb8651..631fcfc9b 100644 --- a/sco_report.py +++ b/sco_report.py @@ -708,14 +708,16 @@ def formsemestre_suivi_cohorte( return t base_url = REQUEST.URL0 - burl = ( - "%s?formsemestre_id=%s&bac=%s&bacspecialite=%s&civilite=%s&statut=%s" - % (base_url, formsemestre_id, bac, bacspecialite, civilite, statut) + burl = "%s?formsemestre_id=%s&bac=%s&bacspecialite=%s&civilite=%s&statut=%s" % ( + base_url, + formsemestre_id, + bac, + bacspecialite, + civilite, + statut, ) if percent: - pplink = ( - '
' % burl - ) + pplink = '' % burl else: pplink = ( '' @@ -1571,7 +1573,6 @@ def formsemestre_graph_parcours( % MAX_ETUD_IN_DESCR, context.sco_footer(REQUEST), ] - REQUEST.RESPONSE.setHeader("content-type", "application/xhtml+xml") return "\n".join(H) else: raise ValueError("invalid format: %s" % format)