mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-13 06:34:45 +02:00
better ?
This commit is contained in:
@ -32,7 +32,7 @@ def get_row(compte, points, mycursor, same_points = True): #return if there is a
|
||||
return(len(myresult) == 1)
|
||||
|
||||
|
||||
def add_to_database(compte, points):
|
||||
def add_to_database(compte, points, sql_host,sql_usr,sql_pwd,sql_database ):
|
||||
mydb = mysql.connector.connect(
|
||||
host=sql_host,
|
||||
user=sql_usr,
|
||||
|
Reference in New Issue
Block a user