mirror of https://github.com/searxng/searxng.git
[fix] pep8
This commit is contained in:
parent
5695ec58df
commit
b22dd51bd7
|
@ -191,7 +191,7 @@ def index():
|
||||||
if 'content' in result:
|
if 'content' in result:
|
||||||
result['content'] = html_to_text(result['content']).strip()
|
result['content'] = html_to_text(result['content']).strip()
|
||||||
# removing html content and whitespace duplications
|
# removing html content and whitespace duplications
|
||||||
result['title'] = ' '.join(html_to_text(result['title'])\
|
result['title'] = ' '.join(html_to_text(result['title'])
|
||||||
.strip().split())
|
.strip().split())
|
||||||
if len(result['url']) > 74:
|
if len(result['url']) > 74:
|
||||||
url_parts = result['url'][:35], result['url'][-35:]
|
url_parts = result['url'][:35], result['url'][-35:]
|
||||||
|
|
Loading…
Reference in New Issue