typo
This commit is contained in:
parent
6ab51e7e99
commit
8f2f70403d
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -64,7 +64,7 @@ def user_info():
|
||||||
def new_user():
|
def new_user():
|
||||||
return render_template("adduser.html")
|
return render_template("adduser.html")
|
||||||
|
|
||||||
@app.route("/removeuser", methodes=['GET'])
|
@app.route("/removeuser", methods=['GET'])
|
||||||
def remove_user():
|
def remove_user():
|
||||||
user_id = request.args.get("id")
|
user_id = request.args.get("id")
|
||||||
c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig?
|
c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig?
|
||||||
|
|
Loading…
Reference in a new issue