From cf3319dcc065f4dcd67968b0f25e35de0b014519 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 7 Dec 2023 14:49:03 +0100 Subject: [PATCH] fix import --- app/models/assiduites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/assiduites.py b/app/models/assiduites.py index 3f683cf7..4027afcf 100644 --- a/app/models/assiduites.py +++ b/app/models/assiduites.py @@ -10,7 +10,6 @@ from app.models import ModuleImpl, Module, Scolog, FormSemestre, FormSemestreIns from app.models.etudiants import Identite from app.auth.models import User from app.scodoc import sco_abs_notification -from app.scodoc.sco_archives_justificatifs import JustificatifArchiver from app.scodoc.sco_exceptions import ScoValueError from app.scodoc.sco_utils import ( EtatAssiduite, @@ -423,6 +422,7 @@ class Justificatif(db.Model): def supprime(self): "Supprime le justificatif. Log et commit." from app.scodoc import sco_assiduites as scass + from app.scodoc.sco_archives_justificatifs import JustificatifArchiver # Récupération de l'archive du justificatif archive_name: str = self.fichier