summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)