type error
This commit is contained in:
parent
4f29e876b1
commit
491891f4de
2
V4.py
2
V4.py
|
@ -163,7 +163,7 @@ def add_to_database(compte, points):
|
|||
else : # if the row don't exist, create it with the good ammount of points
|
||||
add_row(compte, points,mycursor,mydb)
|
||||
printf("row added")
|
||||
if points > 10 :
|
||||
if int(points) > 10 :
|
||||
update_last(compte, points, mycursor, mydb)
|
||||
|
||||
mycursor.close()
|
||||
|
|
Loading…
Reference in New Issue