From 1a55a9bff1322f37398031af37933d218532e84f Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 5 Jul 2023 23:15:44 +0200 Subject: [PATCH] test --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 5608b66..7fb586c 100644 --- a/main.py +++ b/main.py @@ -168,11 +168,11 @@ def adduser(): @app.route("/change", methods=['GET']) def change(): try: - user_id = int(request.args.get("id")) + user_id = request.args.get("id") change = int(request.args.get("change")) except: return '

Error: 095

tags and user list' - c.execute(f"SELECT * FROM users WHERE id='?'", [user_id]) + c.execute(f"SELECT * FROM users WHERE id=?", [user_id]) users = c.fetchall() if users != []: balance_old = users[0][2]