summaryrefslogtreecommitdiff
path: root/modules/tinyexr/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tinyexr/config.py')
-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")