Fix sco_archives_justificatifs

This commit is contained in:
Emmanuel Viennet 2023-09-11 07:11:52 +02:00
parent e1ea5a33d2
commit 638ff758cd
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class JustificatifArchiver(BaseArchiver):
Si trace == True : sauvegarde le nom du/des fichier(s) supprimé(s)
dans la trace de l'étudiant
"""
if str(etud.id) not in self.list_oids():
if str(etud.id) not in self.list_oids(etud.dept_id):
raise ValueError(f"Aucune archive pour etudid[{etud.id}]")
archive_id = self.get_id_from_name(etud.id, archive_name, dept_id=etud.dept_id)

View File

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