true lower case compare
This commit is contained in:
parent
0f093ef64e
commit
8ac9332d6c
|
@ -70,7 +70,7 @@ def show_random_ep():
|
||||||
@app.route("/search")
|
@app.route("/search")
|
||||||
def search():
|
def search():
|
||||||
retEpisodes = []
|
retEpisodes = []
|
||||||
term = request.args.get("q", "")
|
term = request.args.get("q", "").lower()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
assert term != ""
|
assert term != ""
|
||||||
|
|
Loading…
Reference in New Issue