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:
|
||||
result['content'] = html_to_text(result['content']).strip()
|
||||
# removing html content and whitespace duplications
|
||||
result['title'] = ' '.join(html_to_text(result['title'])\
|
||||
result['title'] = ' '.join(html_to_text(result['title'])
|
||||
.strip().split())
|
||||
if len(result['url']) > 74:
|
||||
url_parts = result['url'][:35], result['url'][-35:]
|
||||
|
|
Loading…
Reference in New Issue