diff --git a/scripts/mbedtls_framework/config_common.py b/scripts/mbedtls_framework/config_common.py index b31d82b21..5e2a09d2e 100644 --- a/scripts/mbedtls_framework/config_common.py +++ b/scripts/mbedtls_framework/config_common.py @@ -90,7 +90,7 @@ class Config: If a #define for name is present but commented out, return default. """ - if name in self.settings: + if name in self: return self.settings[name].value else: return default