File tree Expand file tree Collapse file tree
ede/ede/validation_functions/fn5_registro_control_asignaturas Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ def fn5E0(conn, return_dict):
3636 """
3737 _r = False
3838 try :
39- logger .info (f"A ejecutar asistencia" )
4039 asistencia = ejecutar_sql (conn , """--sql
4140 /*
4241 6.2 Contenido mínimo, letra b.2 -> validar el registro de asistencia bloque a bloque
@@ -147,7 +146,6 @@ def fn5E0(conn, return_dict):
147146
148147 GROUP BY rae.Date
149148 """ )
150- logger .info (f"Cantidad asistencia: { len (asistencia )} " )
151149 except Exception as e :
152150 logger .error (f'Rechazado' )
153151 _r = False
@@ -157,13 +155,11 @@ def fn5E0(conn, return_dict):
157155 return False
158156 try :
159157 if (len (asistencia )> 0 ):
160- logger .info ("Entro al if asistencia>0" )
161158 totalEstudiantes = list ([m [4 ] for m in asistencia if m [4 ] is not None ])
162159 estudiantesPresentes = list ([m [5 ] for m in asistencia if m [5 ] is not None ])
163160 estudiantesAusentes = list ([m [6 ] for m in asistencia if m [6 ] is not None ])
164161 estudiantesRetrasados = list ([m [7 ] for m in asistencia if m [7 ] is not None ])
165162 firmadoEnClases = list ([m [8 ] for m in asistencia if m [8 ] is not None ])
166- logger .info (f"Total estudiantes: { len (totalEstudiantes )} " )
167163
168164 for idx_ ,el_ in enumerate (totalEstudiantes ):
169165 if (el_ != (estudiantesPresentes [idx_ ]+ estudiantesAusentes [idx_ ]+ estudiantesRetrasados [idx_ ])):
You can’t perform that action at this time.
0 commit comments