diff options
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 918a7a300..b550e1ebd 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -272,7 +272,7 @@ class EnginesSetting(SwitchableSetting): transformed_choices = [] for engine_name, engine in self.choices.items(): # pylint: disable=no-member,access-member-before-definition for category in engine.categories: - if not category in settings['categories_as_tabs'] + [OTHER_CATEGORY]: + if not category in list(settings['categories_as_tabs'].keys()) + [OTHER_CATEGORY]: continue transformed_choice = {} transformed_choice['default_on'] = not engine.disabled |