mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
fix so enabled value is case insensitive
This commit is contained in:
parent
793e78d9c0
commit
bd93d97a60
@ -310,7 +310,7 @@ class Command(BaseCommand):
|
||||
if enabled is not default:
|
||||
enabled_value = getattr(self, 'enabled_value', None)
|
||||
if enabled_value is not None:
|
||||
enabled = bool(str(enabled_value) == str(enabled))
|
||||
enabled = bool(str(enabled_value).lower() == str(enabled).lower())
|
||||
else:
|
||||
enabled = bool(enabled)
|
||||
if enabled is default:
|
||||
|
Loading…
Reference in New Issue
Block a user