Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM committed Jan 3, 2025
1 parent 6d540c2 commit cab9387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansibleplaybookgrapher/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _add_task(
"notify": _get_notified_handlers(task),
}
if node_type == "handler":
listen = task.listen if isinstance(task.listen, AnsibleSequence) else list(task.listen)
listen = task.listen if isinstance(task.listen, AnsibleSequence) else [task.listen]
node = HandlerNode(**node_params, listen=listen)
else:
node = TaskNode(**node_params)
Expand Down

0 comments on commit cab9387

Please sign in to comment.