Skip to content

Commit 6e9f1a4

Browse files
committed
add 0.0.22 fix
1 parent 65a9d94 commit 6e9f1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansibleguy-webui/aw/templatetags/form_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_form_field_input(bf: BoundField, existing: dict) -> str:
177177

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

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

0 commit comments

Comments
 (0)