true lower case compare

This commit is contained in:
Christine Dodrill 2015-08-09 13:37:08 -07:00
parent 0f093ef64e
commit 8ac9332d6c
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ def show_random_ep():
@app.route("/search")
def search():
retEpisodes = []
term = request.args.get("q", "")
term = request.args.get("q", "").lower()
try:
assert term != ""