diff --git a/main.py b/main.py index 19c7687..cb60ab5 100644 --- a/main.py +++ b/main.py @@ -235,7 +235,7 @@ def request_removetag(data): @app.route("/api/tag_id", methods=['GET']) def get_id(): global finished - global messages + global message tag_id = int(request.args.get("id")) c.execute(f"SELECT * FROM tags WHERE tagid ={tag_id}")