diff --git a/main.py b/main.py index 16ea330..fe14a62 100644 --- a/main.py +++ b/main.py @@ -122,7 +122,7 @@ def confirm_remove_user(): @app.route("/removeuser", methods=['GET']) def remove_user(): user_id = request.args.get("id") - 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 != []: user_name = users[0][1]