summaryrefslogtreecommitdiff
path: root/searx/engines/dictzone.py
diff options
context:
space:
mode:
authorpotato <hammerl.laszlo@gmail.com>2017-06-15 10:51:09 +0200
committerAdam Tauber <asciimoo@gmail.com>2017-06-25 18:29:19 +0200
commit9b82cb1908e2e879ba8fcd067cdfb073c5839932 (patch)
tree340ba24f79c50d3b5dfea764fade632c325635bd /searx/engines/dictzone.py
parentb50c89f50358c0846c590a3db3dae8d439c08699 (diff)
downloadsearxng-9b82cb1908e2e879ba8fcd067cdfb073c5839932.tar.gz
searxng-9b82cb1908e2e879ba8fcd067cdfb073c5839932.zip
[fix] is_valid_lang fixed for new languages.py + dictzone engine encoding
Diffstat (limited to 'searx/engines/dictzone.py')
-rw-r--r--searx/engines/dictzone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.py
index 7c3478629..7cc44df73 100644
--- a/searx/engines/dictzone.py
+++ b/searx/engines/dictzone.py
@@ -37,7 +37,7 @@ def request(query, params):
params['url'] = url.format(from_lang=from_lang[2],
to_lang=to_lang[2],
- query=query)
+ query=query.decode('utf-8'))
return params