summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2017-11-01 13:58:48 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2017-11-01 17:02:38 +0100
commit1b10abfc92afed36627c7052b89d2de5e7f537ee (patch)
treee128d2ba42fa63b970e99e35a4c0c7d80d35f952 /searx/preferences.py
parent575159b194440052d7b48aa073d7e03c80799c90 (diff)
downloadsearxng-1b10abfc92afed36627c7052b89d2de5e7f537ee.tar.gz
searxng-1b10abfc92afed36627c7052b89d2de5e7f537ee.zip
minor fixes of doi resolver
Closes #1047
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index 00a3fd683..1a143db6b 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -15,7 +15,7 @@ LANGUAGE_CODES = [l[0] for l in languages]
LANGUAGE_CODES.append('all')
DISABLED = 0
ENABLED = 1
-DOI_RESOLVERS = [r for r in settings['doi_resolvers'].keys()]
+DOI_RESOLVERS = list(settings['doi_resolvers'])
class MissingArgumentException(Exception):