summaryrefslogtreecommitdiff
path: root/modules/tinyexr
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 00:04:49 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 14:36:02 -0400
commitffab67b8daea8e3379824105439eba8226b72fde (patch)
treebc12f51abfdec242fb0e42a04f02a3de9359fce5 /modules/tinyexr
parentf9e463bce2607c5136acc79ecd495f8b62b8e5ad (diff)
Use BoolVariable in target/component/advanced options.
Diffstat (limited to 'modules/tinyexr')
-rw-r--r--modules/tinyexr/config.py2
1 files changed, 1 insertions, 1 deletions
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")