forked from ScoDoc/ScoDoc
Fix #362
This commit is contained in:
parent
1e7cc06399
commit
7bc5a5ffd1
@ -693,6 +693,8 @@ sco_publish(
|
||||
@scodoc7func
|
||||
def doAddAnnotation(etudid, comment):
|
||||
"ajoute annotation sur etudiant"
|
||||
etud = Identite.query.get_or_404(etudid) # check existence
|
||||
if comment:
|
||||
cnx = ndb.GetDBConnexion()
|
||||
sco_etud.etud_annotations_create(
|
||||
cnx,
|
||||
|
Loading…
Reference in New Issue
Block a user