From 5d9bc331f6dd7b1e4a0566a1844ab4d863a4cd48 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 8 Mar 2007 15:02:53 +0000 Subject: [PATCH] Bugfix. Tutor no tiene alumno. --- sercom/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sercom/model.py b/sercom/model.py index dc1beed..24e811a 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -656,7 +656,7 @@ class Grupo(Entregador): #{{{ def remove_tutor(self, docente): if isinstance(docente, DocenteInscripto): docente = docente.id - t = Tutor.selectBy(grupo=self, alumnoID=alumno, baja=None) + t = Tutor.selectBy(grupo=self, docenteID=docente, baja=None) t.baja = DateTimeCol.now() def __repr__(self): -- 2.43.0