forked from bton/matekasse
New error
This commit is contained in:
parent
56aa79378b
commit
64580f02cb
1 changed files with 1 additions and 2 deletions
|
@ -358,9 +358,8 @@ 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")
|
return make_response(json.dumps({"mode":"error", "error":"638"}))
|
||||||
c.execute(f"SELECT * FROM tags WHERE tagid=?", [tag_id])
|
c.execute(f"SELECT * FROM tags WHERE tagid=?", [tag_id])
|
||||||
|
|
||||||
tag_list = c.fetchall()
|
tag_list = c.fetchall()
|
||||||
|
|
Loading…
Reference in a new issue