forked from ScoDoc/ScoDoc
Fix regression: API billetin par code_nip
This commit is contained in:
parent
e32d7b1b4e
commit
0ab9a281a9
@ -149,7 +149,6 @@ def makeParas(txt, style, suppress_empty=False):
|
||||
else:
|
||||
raise e
|
||||
except Exception as e:
|
||||
detail = " " + str(e)
|
||||
log(traceback.format_exc())
|
||||
log("Invalid pdf para format: %s" % txt)
|
||||
result = [
|
||||
|
@ -274,9 +274,10 @@ def formsemestre_bulletinetud(
|
||||
xml_with_decisions=False,
|
||||
force_publishing=False,
|
||||
prefer_mail_perso=False,
|
||||
code_nip=None,
|
||||
):
|
||||
if not etudid:
|
||||
raise ScoValueError("Paramètre manquant: etudid est requis")
|
||||
if not (etudid or code_nip):
|
||||
raise ScoValueError("Paramètre manquant: spécifier code_nip ou etudid")
|
||||
if not formsemestre_id:
|
||||
raise ScoValueError("Paramètre manquant: formsemestre_id est requis")
|
||||
return sco_bulletins.formsemestre_bulletinetud(
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.0.46"
|
||||
SCOVERSION = "9.0.47"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user