From 5aa4332eefa557a6809d527e5116ebe80b4b396f Mon Sep 17 00:00:00 2001 From: Jocavdh Date: Mon, 11 Jun 2018 16:08:09 +0200 Subject: [PATCH] Lowercase --- app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index 3202b07..0282483 100755 --- a/app/views.py +++ b/app/views.py @@ -444,7 +444,7 @@ def autocomplete_search(): if request.method == 'GET': #query = request.form['search'] query = request.args.get('q') - query_tokenized = query.lower().split() + query_tokenized = query.split() #print(query_tokenized) word_1 = query_tokenized[-2] word_2 = query_tokenized[-1]