test print
This commit is contained in:
parent
a2e74edaa8
commit
71cb7afa55
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -70,6 +70,7 @@ def list():
|
|||
@app.route("/list/user", methods=['GET'])
|
||||
def user_info():
|
||||
username = urllib.parse.unquote_plus(request.args.get("user"))
|
||||
print(username)
|
||||
c.execute("SELECT * FROM users WHERE username = ?", [username])
|
||||
user_list = c.fetchall()
|
||||
if user_list != []:
|
||||
|
|
Loading…
Reference in a new issue