fix import

This commit is contained in:
Emmanuel Viennet 2023-12-07 14:49:03 +01:00
parent e7081bb367
commit cf3319dcc0

View File

@ -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