forked from zaclys/searxng
[fix] language/locale settings
This commit is contained in:
parent
f808de2001
commit
d63135db61
|
@ -210,7 +210,6 @@ def preferences():
|
||||||
elif pd_name == 'language' and (pd == 'all' or
|
elif pd_name == 'language' and (pd == 'all' or
|
||||||
pd in (x[0] for
|
pd in (x[0] for
|
||||||
x in language_codes)):
|
x in language_codes)):
|
||||||
locale = pd
|
|
||||||
lang = pd
|
lang = pd
|
||||||
elif pd_name.startswith('engine_'):
|
elif pd_name.startswith('engine_'):
|
||||||
engine_name = pd_name.replace('engine_', '', 1)
|
engine_name = pd_name.replace('engine_', '', 1)
|
||||||
|
|
Loading…
Reference in New Issue