mirror of https://github.com/searxng/searxng.git
Merge 018abdcd80
into f05566d925
This commit is contained in:
commit
95aca5d41c
|
@ -260,7 +260,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):
|
||||
|
|
Loading…
Reference in New Issue