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() c = db.cursor()
try: try:
tag_id = request.form["id"] tag_id = request.form["id"]
print(tag_id)
except: except:
tag_id = request.args.get("id") tag_id = request.args.get("id")
c.execute(f"SELECT * FROM tags WHERE tagid=?", [tag_id]) c.execute(f"SELECT * FROM tags WHERE tagid=?", [tag_id])