mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Flake8 and Twitter corrections
Lots of Flake8 corrections Maybe we should change the rule to allow lines of 120 chars. It seems more usable. Big twitter correction : now it outputs the words in right order...
This commit is contained in:
@@ -30,8 +30,9 @@ def gen_useragent():
|
||||
|
||||
|
||||
def searx_useragent():
|
||||
return 'searx/{searx_version} {suffix}'.format(searx_version=VERSION_STRING,
|
||||
suffix=settings['server'].get('useragent_suffix', ''))
|
||||
return 'searx/{searx_version} {suffix}'.format(
|
||||
searx_version=VERSION_STRING,
|
||||
suffix=settings['server'].get('useragent_suffix', ''))
|
||||
|
||||
|
||||
def highlight_content(content, query):
|
||||
|
||||
Reference in New Issue
Block a user