[fix] get doi_rewriters from settings - fixes #1245

This commit is contained in:
Adam Tauber 2018-03-17 09:38:36 +01:00
parent b8543bcf3a
commit b9d4c0523e

View file

@ -855,7 +855,7 @@ def config():
'safe_search': settings['search']['safe_search'], 'safe_search': settings['search']['safe_search'],
'default_theme': settings['ui']['default_theme'], 'default_theme': settings['ui']['default_theme'],
'version': VERSION_STRING, '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'], 'default_doi_resolver': settings['default_doi_resolver'],
}) })