forked from bton/matekasse
test
This commit is contained in:
parent
e11512f458
commit
e9acd07fb4
1 changed files with 2 additions and 1 deletions
|
@ -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])
|
||||||
|
@ -427,4 +428,4 @@ def create_app(test_config=None):
|
||||||
def documentation():
|
def documentation():
|
||||||
return render_template("documentation.html")
|
return render_template("documentation.html")
|
||||||
|
|
||||||
return {"app":app,"socketio":socketio}
|
return {"app":app,"socketio":socketio}
|
||||||
|
|
Loading…
Reference in a new issue