diff --git a/app/but/jury_but_validation_auto.py b/app/but/jury_but_validation_auto.py index 97782ee15..94ee7091f 100644 --- a/app/but/jury_but_validation_auto.py +++ b/app/but/jury_but_validation_auto.py @@ -44,12 +44,11 @@ def formsemestre_validation_auto_but( if not dry_run: modified = deca.record_all(only_validantes=only_adm) modified |= validation_dut120_auto(etud, formsemestre) + if modified: + nb_etud_modif += 1 else: decas.append(deca) - if modified: - nb_etud_modif += 1 - db.session.commit() ScolarNews.add( typ=ScolarNews.NEWS_JURY, diff --git a/sco_version.py b/sco_version.py index 5a56a8eda..83e63da97 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.988" +SCOVERSION = "9.6.989" SCONAME = "ScoDoc"