diff --git a/main.py b/main.py index e1387ec..9192c3a 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]