correction timeout

This commit is contained in:
Matthieu Lamalle 2021-07-20 09:14:19 +02:00
parent 0f3c332923
commit 441fbd22d2

View File

@ -148,9 +148,9 @@ def make_group():
filename += '-' + variantes[idx] filename += '-' + variantes[idx]
variantes = [variante_infos[variantes[idx]]] variantes = [variante_infos[variantes[idx]]]
print print
print("Liste des serveurs : ")
for variante in variantes: for variante in variantes:
cu.execute('select id,ip_publique,rne,libelle from serveurs where variante=' + str(variante)) cu.execute('select id,ip_publique,rne,libelle from serveurs where variante=' + str(variante))
print("Liste des serveurs : ")
for server in cu.fetchall(): for server in cu.fetchall():
print('{} - {} - {} - {}'.format(server[0], server[1], server[2], server[3])) print('{} - {} - {} - {}'.format(server[0], server[1], server[2], server[3]))
server_infos.append(server[0]) server_infos.append(server[0])