summaryrefslogtreecommitdiff
path: root/searx/engines/duckduckgo.py
diff options
context:
space:
mode:
authormarc <a01200356@itesm.mx>2017-10-10 16:52:41 -0500
committermarc <a01200356@itesm.mx>2017-10-10 16:53:28 -0500
commit44085e31d0ccf140f307389bd42654f5ada8667f (patch)
treea1a67f94a2c86b80660e1274d2bf4d564dcdcc4b /searx/engines/duckduckgo.py
parenta524dbb823e88482a762d56ac1ed352641f3f0c3 (diff)
downloadsearxng-44085e31d0ccf140f307389bd42654f5ada8667f.tar.gz
searxng-44085e31d0ccf140f307389bd42654f5ada8667f.zip
update engines_languages.json and languages.py
Also, fix fetch_languages.py so it can run on python3.
Diffstat (limited to 'searx/engines/duckduckgo.py')
-rw-r--r--searx/engines/duckduckgo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
index 407d731f0..921e29f8b 100644
--- a/searx/engines/duckduckgo.py
+++ b/searx/engines/duckduckgo.py
@@ -134,4 +134,4 @@ def _fetch_supported_languages(resp):
regions_json = loads(response_page)
supported_languages = map((lambda x: x[3:] + '-' + x[:2].upper()), regions_json.keys())
- return supported_languages
+ return list(supported_languages)