Lowercase

This commit is contained in:
Jocavdh 2018-06-11 16:08:09 +02:00
parent e4d9d0f17b
commit 5aa4332eef

View File

@ -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]