test print
This commit is contained in:
parent
71cb7afa55
commit
5d8f04528f
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -70,7 +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)
|
db_log.info(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 != []:
|
||||||
|
|
Loading…
Reference in a new issue