Change ssh-tunnel
This commit is contained in:
@@ -42,7 +42,7 @@ def database(query,name,user):
|
||||
cursor.execute(query)
|
||||
return cursor.fetchall()
|
||||
if "INSERT" in query:
|
||||
cursor.execute(query)
|
||||
cursor.execute(query,user)
|
||||
mydb.commit()
|
||||
if "UPDATE" in query:
|
||||
cursor.execute(query)
|
||||
|
||||
Reference in New Issue
Block a user