mirror of https://github.com/searxng/searxng.git
Compare commits
3 Commits
ba6456ca81
...
95aca5d41c
Author | SHA1 | Date |
---|---|---|
k2s | 95aca5d41c | |
Martin Minka | 018abdcd80 | |
Martin Minka | ba89a6a30f |
|
@ -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