diff --git a/main.py b/main.py index 5b08a21..f498f92 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 = ?", [username]) + c.execute("SELECT * FROM users WHERE username = '?'", [username]) user_list = c.fetchall() if user_list != []: user = user_list[0]