diff --git a/searx/preferences.py b/searx/preferences.py index 570d0901b..92907c996 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -230,7 +230,8 @@ class BooleanChoices: disabled = self.transform_form_items(items) for setting in self.choices: - self.choices[setting] = setting not in disabled + if setting in disabled: + self.choices[setting] = False @property def enabled(self):