added handling for other methods
This commit is contained in:
parent
9037824e23
commit
ecfec87bb8
2
app.py
2
app.py
|
@ -177,3 +177,5 @@ def find_similar_title():
|
||||||
deets["trakt_id"] = trakt_id
|
deets["trakt_id"] = trakt_id
|
||||||
results.append(deets)
|
results.append(deets)
|
||||||
return render_template("same_titles.html", deets=results)
|
return render_template("same_titles.html", deets=results)
|
||||||
|
else:
|
||||||
|
return "Ayo! use GET or POST method only"
|
||||||
|
|
Loading…
Reference in New Issue