Fix: formsemestre_validation_auto_but

This commit is contained in:
Emmanuel Viennet 2024-07-08 10:01:42 +02:00
parent 12105ba056
commit 08d6349672
2 changed files with 3 additions and 4 deletions

View File

@ -44,12 +44,11 @@ def formsemestre_validation_auto_but(
if not dry_run: if not dry_run:
modified = deca.record_all(only_validantes=only_adm) modified = deca.record_all(only_validantes=only_adm)
modified |= validation_dut120_auto(etud, formsemestre) modified |= validation_dut120_auto(etud, formsemestre)
if modified:
nb_etud_modif += 1
else: else:
decas.append(deca) decas.append(deca)
if modified:
nb_etud_modif += 1
db.session.commit() db.session.commit()
ScolarNews.add( ScolarNews.add(
typ=ScolarNews.NEWS_JURY, typ=ScolarNews.NEWS_JURY,

View File

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