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()
|
||||
try:
|
||||
tag_id = request.form["id"]
|
||||
print(tag_id)
|
||||
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])
|
||||
|
||||
tag_list = c.fetchall()
|
||||
|
|
Loading…
Reference in a new issue