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()
|
||||
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}
|
||||
|
|
Loading…
Reference in a new issue