X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/6025b39278d3ed9a7e6ff62f7815441447038e08..506d3fe1b455810328d73738ad23230e508f5fe7:/sercom/model.py?ds=sidebyside diff --git a/sercom/model.py b/sercom/model.py index f11cfbc..739b0c5 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -75,7 +75,7 @@ class Curso(SQLObject): #{{{ for d in docentes: self.add_docente(d) for (n, e) in enumerate(ejercicios): - self.add_ejercicio(n, e) + self.add_ejercicio(n+1, e) for a in alumnos: self.add_alumno(a)