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
parent 7748618133
commit 40b6ad21e1

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"]