1
0
forked from ScoDoc/ScoDoc

Fix: flag publication bulletins

This commit is contained in:
Emmanuel Viennet 2022-01-04 17:49:13 +01:00
parent 6fe77988a0
commit 9b9b2f270b

View File

@ -72,7 +72,7 @@ def bulletin_but_xml_compat(
etud = Identite.query.get_or_404(etudid)
results = bulletin_but.ResultatsSemestreBUT(sem)
nb_inscrits = len(results.etuds)
if sem.bul_hide_xml or force_publishing:
if (not sem.bul_hide_xml) or force_publishing:
published = "1"
else:
published = "0"