aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-05-22 12:46:27 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-05-22 12:46:27 -0600
commitecfec87bb82c43de3ab8e4ca0aa2418d0420b023 (patch)
treea71565aef37cc9e14548f7d2c0873732a69e00c0 /app.py
parent9037824e23cd386fe499788a47dfbf4f9d8a5917 (diff)
added handling for other methodsHEADmaster
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.py b/app.py
index a843c44..d24def9 100644
--- a/app.py
+++ b/app.py
@@ -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"