Revert changes on the check_settings function

This commit is contained in:
TheophileDiot 2022-11-19 10:56:34 +01:00
parent 3ccc12d789
commit 6b5d6e07ee
1 changed files with 1 additions and 1 deletions

View File

@ -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())