summaryrefslogtreecommitdiff
path: root/searx/utils.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-10 09:30:41 +0200
committerGitHub <noreply@github.com>2021-06-10 09:30:41 +0200
commit73dbee45a649bdb6363717be0670bf4f35bf06a9 (patch)
treec13917ed106cfac408515c377f66f2fa0bb5aa2e /searx/utils.py
parent68df982e21b0f4440485dd690b9396ec34ab0cc0 (diff)
parent15178e5b96d3e54a5d62660442b207164b4cb904 (diff)
Merge pull request #90 from searxng/enh-osm-engine
[enh] improve openstreetmap engine
Diffstat (limited to 'searx/utils.py')
-rw-r--r--searx/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/utils.py b/searx/utils.py
index bf9957df4..285546043 100644
--- a/searx/utils.py
+++ b/searx/utils.py
@@ -45,7 +45,7 @@ def searx_useragent():
"""Return the searx User Agent"""
return 'searx/{searx_version} {suffix}'.format(
searx_version=VERSION_STRING,
- suffix=settings['outgoing']['useragent_suffix'].strip())
+ suffix=settings['outgoing']['useragent_suffix']).strip()
def gen_useragent(os=None):