summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2018-08-19 15:29:52 +0200
committerAdam Tauber <asciimoo@gmail.com>2018-08-19 15:30:12 +0200
commitf7bb45e8912a8529e59146afd3b9cf3413d70a67 (patch)
treee56e207975db5bb2d09bd0053e1e7519f0e15d5c /searx/preferences.py
parent69d1dd3f862ee491518bc837325a498e66f925d0 (diff)
downloadsearxng-f7bb45e8912a8529e59146afd3b9cf3413d70a67.tar.gz
searxng-f7bb45e8912a8529e59146afd3b9cf3413d70a67.zip
[enh] admin configurable suspend time of errored engines - closes #1266
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index fb46edd63..ed2cc402a 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -264,7 +264,9 @@ class Preferences(object):
'False': False,
'True': True}),
'doi_resolver': MultipleChoiceSetting(['oadoi.org'], choices=DOI_RESOLVERS),
- 'oscar-style': EnumStringSetting(settings['ui'].get('theme_args', {}).get('oscar_style', 'logicodev'), choices=['', 'logicodev', 'logicodev-dark', 'pointhi']),
+ 'oscar-style': EnumStringSetting(
+ settings['ui'].get('theme_args', {}).get('oscar_style', 'logicodev'),
+ choices=['', 'logicodev', 'logicodev-dark', 'pointhi']),
}
self.engines = EnginesSetting('engines', choices=engines)