Correction de l'import des user
This commit is contained in:
parent
afe659cf51
commit
bdec6b8603
2 changed files with 1 additions and 1 deletions
BIN
players.db
BIN
players.db
Binary file not shown.
|
@ -78,7 +78,7 @@ def init_db():
|
||||||
rows = cur_mysql.fetchall()
|
rows = cur_mysql.fetchall()
|
||||||
print('players :')
|
print('players :')
|
||||||
for row in rows:
|
for row in rows:
|
||||||
if row['prenom'] + ' ' + row['nom'] in IMMUNITY:
|
if row['prenom'] + ' ' + row['nom'] not 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))
|
||||||
|
|
Loading…
Reference in a new issue