summaryrefslogtreecommitdiff
path: root/searx/engines/gentoo.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/gentoo.py')
-rw-r--r--searx/engines/gentoo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/gentoo.py b/searx/engines/gentoo.py
index b4b02e6b4..b6bc99fab 100644
--- a/searx/engines/gentoo.py
+++ b/searx/engines/gentoo.py
@@ -90,7 +90,7 @@ def request(query, params):
# if our language is hosted on the main site, we need to add its name
# to the query in order to narrow the results to that language
if language in main_langs:
- query += b' (' + (main_langs[language]).encode() + b')'
+ query += ' (' + main_langs[language] + ')'
# prepare the request parameters
query = urlencode({'search': query})