From 491891f4deab2dbc615de4a0a400b0966350142f Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 9 Jun 2022 16:28:30 +0200 Subject: [PATCH] type error --- V4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/V4.py b/V4.py index fea8fd5..c97904f 100755 --- a/V4.py +++ b/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()