summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/settings_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/settings_loader.py b/searx/settings_loader.py
index e7126aa89..cfdeb4d91 100644
--- a/searx/settings_loader.py
+++ b/searx/settings_loader.py
@@ -57,7 +57,7 @@ def update_settings(default_settings, user_settings):
# merge everything except the engines
for k, v in user_settings.items():
if k not in ('use_default_settings', 'engines'):
- if k in default_settings:
+ if k in default_settings and isinstance(v, Mapping):
update_dict(default_settings[k], v)
else:
default_settings[k] = v