X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/4d996d9a8b118836ad4de537ead8144b78bf530f..0daad71b27fd503bdfe92ca4acda8ab697204c7f:/src/sc_suwi 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()