diff --git a/main.py b/main.py index 7848c3c..0574d7a 100644 --- a/main.py +++ b/main.py @@ -124,7 +124,7 @@ def request_addtag(data): socketio.emit("error", "error") @app.route("/removetag", methods=['GET']) -def get_addtag_request(): +def get_removetag_request(): global users try: user_id = int(request.args.get("id")) @@ -136,7 +136,7 @@ def get_addtag_request(): return render_template("removetag.html", user=user_id) @socketio.on('removetag') -def request_addtag(data): +def request_removetag(data): global finished if len(users.queue) > 0: user = users.queue[len(users.queue) - 1] diff --git a/templates/removetag.html b/templates/removetag.html new file mode 100644 index 0000000..f84d34d --- /dev/null +++ b/templates/removetag.html @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file