From: Leandro Lucarella Date: Thu, 8 Mar 2007 15:02:53 +0000 (+0000) Subject: Bugfix. Tutor no tiene alumno. X-Git-Tag: 0_9~115 X-Git-Url: https://git.llucax.com/software/sercom.git/commitdiff_plain/5d9bc331f6dd7b1e4a0566a1844ab4d863a4cd48?ds=inline Bugfix. Tutor no tiene alumno. --- 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):