address dana's comment

This commit is contained in:
yangdsh
2020-02-08 23:05:05 +00:00
committed by Dana Van Aken
parent c33625ca17
commit c69fca77d6
2 changed files with 6 additions and 7 deletions

View File

@@ -663,12 +663,8 @@ def _http_content_to_json(content):
return json_content, decoded
def _parse_bool(val):
return str(val).lower() == 'true'
def _modify_website_object(obj_name, action, verbose=False, **kwargs):
verbose = _parse_bool(verbose)
verbose = parse_bool(verbose)
if obj_name == 'project':
valid_actions = ('create', 'edit')
elif obj_name == 'session':