Skip to content

Commit

Permalink
the origin node is already added at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-ar authored and oroulet committed Sep 28, 2020
1 parent a955716 commit dd687a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/common/manage_nodes.py
Expand Up @@ -413,7 +413,7 @@ async def delete_nodes(server, nodes, recursive=False, delete_target_references=
"""
nodestodelete = []
if recursive:
nodes += await _add_childs(nodes)
nodes = await _add_childs(nodes)
for mynode in nodes:
it = ua.DeleteNodesItem()
it.NodeId = mynode.nodeid
Expand Down

0 comments on commit dd687a3

Please sign in to comment.