summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-02-07 01:52:38 +0100
committerasciimoo <asciimoo@gmail.com>2014-02-07 01:52:38 +0100
commitd63135db610534039252dddc8cc4be1ee325c663 (patch)
treed8bb8332f54654b48c79f8b77c2a2cdd7e666ea6 /searx/webapp.py
parentf808de2001fc25c565738563df67cbb747242aa4 (diff)
[fix] language/locale settings
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 43165b4f8..43f5021b0 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -210,7 +210,6 @@ def preferences():
elif pd_name == 'language' and (pd == 'all' or
pd in (x[0] for
x in language_codes)):
- locale = pd
lang = pd
elif pd_name.startswith('engine_'):
engine_name = pd_name.replace('engine_', '', 1)