From 25d4ed2b71b005a75d68dbab5e2fc88ddfba22a3 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 16 Jun 2023 19:15:59 +0200 Subject: [PATCH] test --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2ebe9a9..5c7d826 100644 --- a/main.py +++ b/main.py @@ -59,7 +59,7 @@ def list(): @app.route("/list/user", methods=['GET']) def user_info(): username = request.args.get("user") - c.execute("SELECT * FROM users WHERE username = ?", [(1, username)]) + c.execute("SELECT * FROM users WHERE username = ?", [username]) user_list = c.fetchall() if user_list != []: user = user_list[0]