1
0
forked from ScoDoc/ScoDoc

Fix #230: notes d'éval / 20 dans bul json

This commit is contained in:
Emmanuel Viennet 2021-12-16 21:10:20 +01:00
parent 3ec5cef3c0
commit 5f409f0267
2 changed files with 3 additions and 2 deletions

View File

@ -203,7 +203,8 @@ class ResultatsSemestreBUT:
"poids": {p.ue.acronyme: p.poids for p in e.ue_poids}, "poids": {p.ue.acronyme: p.poids for p in e.ue_poids},
"note": { "note": {
"value": fmt_note( "value": fmt_note(
self.modimpls_evals_notes[e.moduleimpl_id][e.id][etud.id] self.modimpls_evals_notes[e.moduleimpl_id][e.id][etud.id],
note_max=e.note_max,
), ),
"min": fmt_note(notes_ok.min()), "min": fmt_note(notes_ok.min()),
"max": fmt_note(notes_ok.max()), "max": fmt_note(notes_ok.max()),

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.1.7" SCOVERSION = "9.1.8"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"