Browse Source

[fix] get doi_rewriters from settings - fixes #1245

Adam Tauber 6 years ago
parent
commit
b9d4c0523e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/webapp.py

+ 1
- 1
searx/webapp.py View File

855
                     'safe_search': settings['search']['safe_search'],
855
                     'safe_search': settings['search']['safe_search'],
856
                     'default_theme': settings['ui']['default_theme'],
856
                     'default_theme': settings['ui']['default_theme'],
857
                     'version': VERSION_STRING,
857
                     'version': VERSION_STRING,
858
-                    'doi_resolvers': [r for r in search['doi_resolvers']],
858
+                    'doi_resolvers': [r for r in settings['doi_resolvers']],
859
                     'default_doi_resolver': settings['default_doi_resolver'],
859
                     'default_doi_resolver': settings['default_doi_resolver'],
860
                     })
860
                     })
861
 
861