30 doi_resolvers = settings[
'doi_resolvers']
31 selected_resolver = preferences.get_value(
'doi_resolver')[0]
32 if selected_resolver
not in doi_resolvers:
33 selected_resolver = settings[
'default_doi_resolver']
34 return doi_resolvers[selected_resolver]