logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 96f182d75d76a77457137abd89b3cc374c26aa9f
parent: 43ddbc60da114e3c764e6f7fa344e686964b66c2
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Mon, 14 Nov 2016 16:17:11 +0100

[fix] allow empty autocomplete setting

closes #756
closes #761

Diffstat:

searx/preferences.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/preferences.py b/searx/preferences.py @@ -218,7 +218,7 @@ class Preferences(object): 'locale': EnumStringSetting(settings['ui']['default_locale'], choices=settings['locales'].keys()), 'autocomplete': EnumStringSetting(settings['search']['autocomplete'], - choices=autocomplete.backends.keys()), + choices=autocomplete.backends.keys() + ['']), 'image_proxy': MapSetting(settings['server']['image_proxy'], map={'': settings['server']['image_proxy'], '0': False,