Compare commits

...
3 Commits
Author SHA1 Message Date
jjripaper 4ac762345e Quito log para produccion 2026-04-29 14:02:05 +02:00
jjripaper b6b3d1416b usando el pool de oracle 2026-04-29 14:00:35 +02:00
jjripaper d1fc2186eb cambiar las conexiones oracle a pool 2026-04-29 13:11:51 +02:00
2 changed files with 1 additions and 3 deletions
Binary file not shown.
+1 -3
View File
@@ -41,15 +41,13 @@ def obtener_turnos(mon_id, qry):
cursor.execute(qry,{'monitor':mon_id})
datos = cursor.fetchall()
cursor.close()
print("Obteniendo los turnos bien...")
return datos
except Exception as e:
print(f"Error al conectar: {e}")
return None
finally:
if conn:
conn.close()
conn.close()
def obtener_pie(mon_id1, mon_id2):
conn = None