added handling for other methods

This commit is contained in:
navanchauhan 2022-05-22 12:46:27 -06:00
parent 9037824e23
commit ecfec87bb8
1 changed files with 2 additions and 0 deletions

2
app.py
View File

@ -177,3 +177,5 @@ def find_similar_title():
deets["trakt_id"] = trakt_id
results.append(deets)
return render_template("same_titles.html", deets=results)
else:
return "Ayo! use GET or POST method only"