1
0
mirror of https://github.com/gsi-upm/sitc synced 2025-12-15 09:38:16 +00:00

Actualizar ejercicios LOD

This commit is contained in:
J. Fernando Sánchez
2023-02-13 18:26:14 +01:00
parent 41d3bdea75
commit 897bb487b1
7 changed files with 117 additions and 110 deletions

View File

@@ -37,7 +37,7 @@ def send_query(query, endpoint):
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
res = urlopen(r, context=context)
res = urlopen(r, context=context, timeout=2)
data = res.read().decode('utf-8')
if res.getcode() == 200:
try: