type error

This commit is contained in:
piair 2022-06-09 16:28:30 +02:00
parent 4f29e876b1
commit 491891f4de
1 changed files with 1 additions and 1 deletions

2
V4.py
View File

@ -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 else : # if the row don't exist, create it with the good ammount of points
add_row(compte, points,mycursor,mydb) add_row(compte, points,mycursor,mydb)
printf("row added") printf("row added")
if points > 10 : if int(points) > 10 :
update_last(compte, points, mycursor, mydb) update_last(compte, points, mycursor, mydb)
mycursor.close() mycursor.close()