From 497912b730f191bfb30353f028048121e9b92387 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 23 Jun 2023 21:28:57 +0200 Subject: [PATCH] test --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9192c3a..2a26457 100644 --- a/main.py +++ b/main.py @@ -69,7 +69,7 @@ def list(): @app.route("/list/user", methods=['GET']) def user_info(): id = request.args.get("id") - c.execute(f"SELECT * FROM users WHERE id={id}") + c.execute(f"SELECT * FROM users WHERE id='{id}'") user_list = c.fetchall() if user_list != []: user = user_list[0]