Fix: bug rare si cache modimpl_results non en accord avec modimpl.evaluations

This commit is contained in:
Emmanuel Viennet 2022-12-02 11:59:25 +01:00 committed by iziram
parent a87dbd9927
commit 42b03dbdfa

View File

@ -242,6 +242,7 @@ class BulletinBUT:
self.etud_eval_results(etud, e) self.etud_eval_results(etud, e)
for e in modimpl.evaluations for e in modimpl.evaluations
if (e.visibulletin or version == "long") if (e.visibulletin or version == "long")
and (e.id in modimpl_results.evaluations_etat)
and ( and (
modimpl_results.evaluations_etat[e.id].is_complete modimpl_results.evaluations_etat[e.id].is_complete
or self.prefs["bul_show_all_evals"] or self.prefs["bul_show_all_evals"]