1
0
Fork 0
forked from bton/matekasse

test print

This commit is contained in:
2000-Trek 2023-06-23 21:24:46 +02:00
parent 0bc3f54209
commit a84947db30

View file

@ -69,6 +69,7 @@ def list():
@app.route("/list/user", methods=['GET']) @app.route("/list/user", methods=['GET'])
def user_info(): def user_info():
id = urllib.parse.unquote_plus(request.args.get("id")) id = urllib.parse.unquote_plus(request.args.get("id"))
db_log.info(id)
c.execute(f"SELECT * FROM users WHERE id = {id}") c.execute(f"SELECT * FROM users WHERE id = {id}")
user_list = c.fetchall() user_list = c.fetchall()
if user_list != []: if user_list != []: