summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index 4b7494ac2..92758efa6 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -13,7 +13,7 @@ from collections import OrderedDict
import flask
import babel
-from searx import settings, autocomplete
+from searx import settings, autocomplete, favicon_resolver
from searx.enginelib import Engine
from searx.plugins import Plugin
from searx.locales import LOCALE_NAMES
@@ -406,6 +406,11 @@ class Preferences:
locked=is_locked('autocomplete'),
choices=list(autocomplete.backends.keys()) + ['']
),
+ 'favicon_resolver': EnumStringSetting(
+ settings['search']['favicon_resolver'],
+ locked=is_locked('favicon_resolver'),
+ choices=list(favicon_resolver.backends.keys()) + ['']
+ ),
'image_proxy': BooleanSetting(
settings['server']['image_proxy'],
locked=is_locked('image_proxy')