From 96f182d75d76a77457137abd89b3cc374c26aa9f Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Mon, 14 Nov 2016 16:17:11 +0100 Subject: [PATCH] [fix] allow empty autocomplete setting closes #756 closes #761 --- searx/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/preferences.py b/searx/preferences.py index ed7b6f6cd..8b787fc59 100644 --- 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,