This commit is contained in:
bton 2024-02-14 20:52:50 +01:00
parent e11512f458
commit e9acd07fb4

View file

@ -358,6 +358,7 @@ def create_app(test_config=None):
c = db.cursor()
try:
tag_id = request.form["id"]
print(tag_id)
except:
tag_id = request.args.get("id")
c.execute(f"SELECT * FROM tags WHERE tagid=?", [tag_id])
@ -427,4 +428,4 @@ def create_app(test_config=None):
def documentation():
return render_template("documentation.html")
return {"app":app,"socketio":socketio}
return {"app":app,"socketio":socketio}