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:
|
else:
|
||||||
raise e
|
raise e
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
detail = " " + str(e)
|
|
||||||
log(traceback.format_exc())
|
log(traceback.format_exc())
|
||||||
log("Invalid pdf para format: %s" % txt)
|
log("Invalid pdf para format: %s" % txt)
|
||||||
result = [
|
result = [
|
||||||
|
@ -274,9 +274,10 @@ def formsemestre_bulletinetud(
|
|||||||
xml_with_decisions=False,
|
xml_with_decisions=False,
|
||||||
force_publishing=False,
|
force_publishing=False,
|
||||||
prefer_mail_perso=False,
|
prefer_mail_perso=False,
|
||||||
|
code_nip=None,
|
||||||
):
|
):
|
||||||
if not etudid:
|
if not (etudid or code_nip):
|
||||||
raise ScoValueError("Paramètre manquant: etudid est requis")
|
raise ScoValueError("Paramètre manquant: spécifier code_nip ou etudid")
|
||||||
if not formsemestre_id:
|
if not formsemestre_id:
|
||||||
raise ScoValueError("Paramètre manquant: formsemestre_id est requis")
|
raise ScoValueError("Paramètre manquant: formsemestre_id est requis")
|
||||||
return sco_bulletins.formsemestre_bulletinetud(
|
return sco_bulletins.formsemestre_bulletinetud(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.0.46"
|
SCOVERSION = "9.0.47"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user