Correction d'une indentation
This commit is contained in:
parent
11d3ffd0c7
commit
c6a630d974
1 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@ def init_db():
|
||||||
and typeUtilisateur='membre'""")
|
and typeUtilisateur='membre'""")
|
||||||
rows = cur_mysql.fetchall()
|
rows = cur_mysql.fetchall()
|
||||||
for row in rows:
|
for row in rows:
|
||||||
if row['prenom'] + ' ' + row['nom'] in IMMUNITY:
|
if row['prenom'] + ' ' + row['nom'] in IMMUNITY:
|
||||||
print(row)
|
print(row)
|
||||||
cur_sqlite.execute("""insert into players values (?,?,?,?)""", \
|
cur_sqlite.execute("""insert into players values (?,?,?,?)""", \
|
||||||
((row["id"]), row["prenom"], row["nom"], 0))
|
((row["id"]), row["prenom"], row["nom"], 0))
|
||||||
|
|
||||||
# Remplissage de la table ip à partir de la table equipements
|
# Remplissage de la table ip à partir de la table equipements
|
||||||
cur_mysql.execute("""select equipements.id,utilisateurs.id,equipements.ip
|
cur_mysql.execute("""select equipements.id,utilisateurs.id,equipements.ip
|
||||||
|
|
Loading…
Reference in a new issue