浏览代码

[fix] language/locale settings

asciimoo 11 年前
父节点
当前提交
d63135db61
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      searx/webapp.py

+ 0
- 1
searx/webapp.py 查看文件

210
             elif pd_name == 'language' and (pd == 'all' or
210
             elif pd_name == 'language' and (pd == 'all' or
211
                                             pd in (x[0] for
211
                                             pd in (x[0] for
212
                                                    x in language_codes)):
212
                                                    x in language_codes)):
213
-                locale = pd
214
                 lang = pd
213
                 lang = pd
215
             elif pd_name.startswith('engine_'):
214
             elif pd_name.startswith('engine_'):
216
                 engine_name = pd_name.replace('engine_', '', 1)
215
                 engine_name = pd_name.replace('engine_', '', 1)