summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-07 21:35:40 +0100
committerGitHub <noreply@github.com>2019-01-07 21:35:40 +0100
commit2438b3c77a3ad276aaeb15e5a54315d351a42273 (patch)
tree00d4783b39625ca01c61aa4f04cb88250b21dffc /searx/preferences.py
parent491792c1a58f71083f6af663bb6d93e40fa44c9f (diff)
parent97351a2c725ce620d452c62da07379130bafdb95 (diff)
Merge pull request #1475 from kvch/add-all-language-option-again
Revert "remove 'all' option from search languages"
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index ed2cc402a..acaa67f66 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -12,6 +12,7 @@ if version[0] == '3':
COOKIE_MAX_AGE = 60 * 60 * 24 * 365 * 5 # 5 years
LANGUAGE_CODES = [l[0] for l in languages]
+LANGUAGE_CODES.append('all')
DISABLED = 0
ENABLED = 1
DOI_RESOLVERS = list(settings['doi_resolvers'])