X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/4d996d9a8b118836ad4de537ead8144b78bf530f..7f32a60f31bd104bc04c102bf6c66dd2af7220e7:/src/sc_suwi?ds=sidebyside diff --git a/src/sc_suwi b/src/sc_suwi index e4de31d..fe505a6 100755 --- a/src/sc_suwi +++ b/src/sc_suwi @@ -371,8 +371,10 @@ def correcciones(req, entrega_id): r += correccion_footer() inscriptos_ok = set([c.inscripto for c in correcciones]) inscriptos = set([i.inscripto for i in e.intentos]) + rechazados = list(inscriptos - inscriptos_ok) + rechazados.sort(lambda x, y: cmp(x.padron, y.padron)) r += rechazado_header() - for i in inscriptos - inscriptos_ok: + for i in rechazados: r += rechazado_row(i, e) r += rechazado_footer() r += footer()