Minor changes
This commit is contained in:
parent
7d45d9498e
commit
cda152852c
3 changed files with 3 additions and 2 deletions
|
|
@ -206,7 +206,7 @@ def searchSongDB():
|
|||
except sql.OperationalError as e:
|
||||
print(e)
|
||||
fileofDB.close()
|
||||
return ({"error":"Invalid search, sorry!","data":None},422)
|
||||
return ({"error":"Database error (Try another search?)","data":None},500)
|
||||
|
||||
|
||||
@app.route("/songadd", methods=["POST"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue