From b9d4c0523e8d6eab81658d77f8213b39f9b28f17 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sat, 17 Mar 2018 09:38:36 +0100 Subject: [PATCH] [fix] get doi_rewriters from settings - fixes #1245 --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index ca83f5641..2daf60deb 100644 --- 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'], })