formsemestre_recapcomplet: returned value

This commit is contained in:
Emmanuel Viennet 2021-08-21 16:51:08 +02:00
parent c22f4571fa
commit 3ca58019a4

View File

@ -187,7 +187,13 @@ def formsemestre_recapcomplet(
""" """
) )
H.append(html_sco_header.sco_footer()) H.append(html_sco_header.sco_footer())
return "".join(H) # HTML or binary data... # HTML or binary data ?
if len(H) > 1:
return "".join(H)
elif len(H) == 1:
return H[0]
else:
return H
def do_formsemestre_recapcomplet( def do_formsemestre_recapcomplet(