From 506d3fe1b455810328d73738ad23230e508f5fe7 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 11 Mar 2007 15:13:47 +0000 Subject: [PATCH 1/1] =?utf8?q?Bugfix:=20Curso()=20pon=C3=ADa=20mal=20el=20?= =?utf8?q?n=C3=BAmero=20de=20ejercicio.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0