From ffab67b8daea8e3379824105439eba8226b72fde Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 25 Sep 2017 00:04:49 -0400 Subject: Use BoolVariable in target/component/advanced options. --- modules/tinyexr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tinyexr') diff --git a/modules/tinyexr/config.py b/modules/tinyexr/config.py index 2e4b96a6b0..9cbf22cdc6 100644 --- a/modules/tinyexr/config.py +++ b/modules/tinyexr/config.py @@ -6,6 +6,6 @@ def can_build(platform): def configure(env): # Tools only, disabled for non-tools # TODO: Find a cleaner way to achieve that - if (env["tools"] == "no"): + if not env['tools']: env["module_tinyexr_enabled"] = "no" env.disabled_modules.append("tinyexr") -- cgit v1.2.3