From b6602a70e725fd4114134f88b90d93f41aaf4ab0 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 5 Jul 2023 23:13:35 +0200 Subject: [PATCH] test --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index ebd23b4..714e09c 100644 --- a/main.py +++ b/main.py @@ -172,7 +172,7 @@ def change(): 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] @@ -299,7 +299,7 @@ def get_id(): global finished global message tag_id = request.args.get("id") - c.execute(f"SELECT * FROM tags WHERE tagid =?", [tag_id]) + c.execute(f"SELECT * FROM tags WHERE tagid=?", [tag_id]) tag_list = c.fetchall() if users.qsize() > 0: