X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/4d996d9a8b118836ad4de537ead8144b78bf530f..8e949891107590587768049e87d74676864c6119:/src/sc_suwi?ds=inline 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()