diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-11-14 16:17:11 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-11-14 16:17:11 +0100 |
commit | 96f182d75d76a77457137abd89b3cc374c26aa9f (patch) | |
tree | 70603a03b73f2f7fbd6dff371bf7e5c16e221393 /searx/preferences.py | |
parent | 43ddbc60da114e3c764e6f7fa344e686964b66c2 (diff) | |
download | searxng-96f182d75d76a77457137abd89b3cc374c26aa9f.tar.gz searxng-96f182d75d76a77457137abd89b3cc374c26aa9f.zip |
[fix] allow empty autocomplete setting
closes #756
closes #761
Diffstat (limited to 'searx/preferences.py')
-rw-r--r-- | searx/preferences.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |