diff --git a/webapp_admin/webapp_admin.py b/webapp_admin/webapp_admin.py index 2d27181..a40e4a5 100755 --- a/webapp_admin/webapp_admin.py +++ b/webapp_admin/webapp_admin.py @@ -462,6 +462,10 @@ def advanced_inject(user, data, value_type='string'): split_data = data.split('=') value = split_data[1].lstrip().rstrip() + if value.lower() == 'true': + value = True + elif value.lower() == 'false': + value = False if value_type == 'list': value = value.split(',')