diff --git a/main.py b/main.py index d28976f..e1387ec 100644 --- a/main.py +++ b/main.py @@ -68,8 +68,7 @@ def list(): @app.route("/list/user", methods=['GET']) def user_info(): - id = urllib.parse.unquote_plus(request.args.get("id")) - db_log.info(id) + id = request.args.get("id") c.execute(f"SELECT * FROM users WHERE id = {id}") user_list = c.fetchall() if user_list != []: