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'""")
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue