diff --git a/wlauto/utils/types.py b/wlauto/utils/types.py index df7b5a4f..419fcb0c 100644 --- a/wlauto/utils/types.py +++ b/wlauto/utils/types.py @@ -47,7 +47,7 @@ def boolean(value): e.g. boolean('0') and boolean('false') will both yield False. """ - false_strings = ['', '0', 'n', 'no'] + false_strings = ['', '0', 'n', 'no', 'off'] if isinstance(value, basestring): value = value.lower() if value in false_strings or 'false'.startswith(value):