1
0
Fork 0
forked from bton/matekasse

test print

This commit is contained in:
2000-Trek 2023-06-23 20:42:40 +02:00
parent a2e74edaa8
commit 71cb7afa55

View file

@ -70,6 +70,7 @@ def list():
@app.route("/list/user", methods=['GET']) @app.route("/list/user", methods=['GET'])
def user_info(): def user_info():
username = urllib.parse.unquote_plus(request.args.get("user")) username = urllib.parse.unquote_plus(request.args.get("user"))
print(username)
c.execute("SELECT * FROM users WHERE username = ?", [username]) c.execute("SELECT * FROM users WHERE username = ?", [username])
user_list = c.fetchall() user_list = c.fetchall()
if user_list != []: if user_list != []: