logo

searx

My custom branche(s) on searx, a meta-search engine
commit: b9d4c0523e8d6eab81658d77f8213b39f9b28f17
parent: b8543bcf3a4cc176645473165fcc855ae3a8210c
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sat, 17 Mar 2018 09:38:36 +0100

[fix] get doi_rewriters from settings - fixes #1245

Diffstat:

Msearx/webapp.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/webapp.py b/searx/webapp.py @@ -855,7 +855,7 @@ def config(): 'safe_search': settings['search']['safe_search'], 'default_theme': settings['ui']['default_theme'], 'version': VERSION_STRING, - 'doi_resolvers': [r for r in search['doi_resolvers']], + 'doi_resolvers': [r for r in settings['doi_resolvers']], 'default_doi_resolver': settings['default_doi_resolver'], })