test
This commit is contained in:
parent
b6602a70e7
commit
2deafa4eaf
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -172,7 +172,7 @@ def change():
|
||||||
change = int(request.args.get("change"))
|
change = int(request.args.get("change"))
|
||||||
except:
|
except:
|
||||||
return '<p>Error: 095</p><a href="/list">tags and user list</a>'
|
return '<p>Error: 095</p><a href="/list">tags and user list</a>'
|
||||||
c.execute(f"SELECT * FROM users WHERE id=?", [user_id])
|
c.execute(f"SELECT * FROM users WHERE id='?'", [user_id])
|
||||||
users = c.fetchall()
|
users = c.fetchall()
|
||||||
if users != []:
|
if users != []:
|
||||||
balance_old = users[0][2]
|
balance_old = users[0][2]
|
||||||
|
|
Loading…
Reference in a new issue