Revert changes on the check_settings function
This commit is contained in:
parent
3ccc12d789
commit
6b5d6e07ee
|
@ -172,4 +172,4 @@ def path_to_dict(
|
|||
|
||||
|
||||
def check_settings(settings: dict, check: str) -> bool:
|
||||
return not any(setting["context"] != check for setting in settings.values())
|
||||
return any(setting["context"] == check for setting in settings.values())
|
||||
|
|
Loading…
Reference in New Issue