From 46d8c9d3b2ec0b949dd5075a1d7c2b2a6b8f869d Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Sat, 10 Mar 2007 18:02:50 +0000 Subject: [PATCH] fix que a mi me colgaba el update --- sercom/subcontrollers/curso/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sercom/subcontrollers/curso/__init__.py b/sercom/subcontrollers/curso/__init__.py index 7b5fccd..35e9952 100644 --- a/sercom/subcontrollers/curso/__init__.py +++ b/sercom/subcontrollers/curso/__init__.py @@ -248,8 +248,8 @@ class CursoController(controllers.Controller, identity.SecureResource): params = dict([(k,v) for (k,v) in kw.iteritems() if k in Curso.sqlmeta.columns.keys()]) r = validate_set(id, params) - docentes = kw.get('docentes_to', []) - alumnos = kw.get('alumnos', []) + docentes = [a for a in kw.get('docentes_to', [])] + alumnos = [a for a in kw.get('alumnos', [])] alumnos_inscriptos = AlumnoInscripto.selectBy(curso=id) """ levanto los doncentes del curso para ver cuales tengo que agregar """ docentes_inscriptos = DocenteInscripto.selectBy(curso=id) -- 2.43.0