forked from bton/matekasse
test print
This commit is contained in:
parent
0bc3f54209
commit
a84947db30
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -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 != []:
|
||||||
|
|
Loading…
Reference in a new issue