summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rw-r--r--searx/plugins/self_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/plugins/self_info.py b/searx/plugins/self_info.py
index b2e714593..7cad040d2 100644
--- a/searx/plugins/self_info.py
+++ b/searx/plugins/self_info.py
@@ -28,5 +28,5 @@ def post_search(request, search):
search.result_container.answers['ip'] = {'answer': gettext('Your IP is: ') + ip}
elif ua_regex.match(search.search_query.query):
ua = request.user_agent
- search.result_container.answers['user-agent'] = {'answer': gettext('Your user-agent is: ') + ua}
+ search.result_container.answers['user-agent'] = {'answer': gettext('Your user-agent is: ') + ua.string}
return True