X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/fb3f7fce5b6f99ff075f4a7b085588b50e14b7e2..c505a0a6a9fed168f9550405018372473912ea9e:/sercom/model.py?ds=sidebyside 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):