diff options
author | marc <a01200356@itesm.mx> | 2017-10-10 16:52:41 -0500 |
---|---|---|
committer | marc <a01200356@itesm.mx> | 2017-10-10 16:53:28 -0500 |
commit | 44085e31d0ccf140f307389bd42654f5ada8667f (patch) | |
tree | a1a67f94a2c86b80660e1274d2bf4d564dcdcc4b /searx/engines/duckduckgo.py | |
parent | a524dbb823e88482a762d56ac1ed352641f3f0c3 (diff) | |
download | searxng-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.py | 2 |
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) |