Skip to content

Commit

Permalink
add 0.0.22 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Jul 13, 2024
1 parent 65a9d94 commit 6e9f1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansibleguy-webui/aw/templatetags/form_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def get_form_field_input(bf: BoundField, existing: dict) -> str:

@register.filter
def check_job_prompt_flag(existing: dict, flag: str) -> bool:
if 'execution_prompts' not in existing:
if 'execution_prompts' not in existing or not isinstance(existing['execution_prompts'], str):
return PROMPT_FLAG_DEFAULTS[flag]

return flag in existing['execution_prompts'].split(Job.execution_prompt_separator)

0 comments on commit 6e9f1a4

Please sign in to comment.