From c6a630d9741ee5c7421bc72be03c7fde03c9bd5c Mon Sep 17 00:00:00 2001 From: guimoz Date: Thu, 26 Jan 2017 23:43:24 +0100 Subject: [PATCH] Correction d'une indentation --- roulette.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roulette.py b/roulette.py index e266de6..a0100d5 100644 --- a/roulette.py +++ b/roulette.py @@ -77,10 +77,10 @@ def init_db(): and typeUtilisateur='membre'""") rows = cur_mysql.fetchall() for row in rows: - if row['prenom'] + ' ' + row['nom'] in IMMUNITY: - print(row) - cur_sqlite.execute("""insert into players values (?,?,?,?)""", \ - ((row["id"]), row["prenom"], row["nom"], 0)) + if row['prenom'] + ' ' + row['nom'] in IMMUNITY: + print(row) + cur_sqlite.execute("""insert into players values (?,?,?,?)""", \ + ((row["id"]), row["prenom"], row["nom"], 0)) # Remplissage de la table ip à partir de la table equipements cur_mysql.execute("""select equipements.id,utilisateurs.id,equipements.ip