flame: fixing setter for node name

This commit is contained in:
Jakub Jezek 2022-04-07 17:14:33 +02:00
parent 16bd11083d
commit afbacb1944
No known key found for this signature in database
GPG key ID: D8548FBF690B100A

View file

@ -117,7 +117,7 @@ def create_batch_group_conent(batch_nodes, batch_links, batch_group=None):
batch_node = batch_group.create_node(node_type)
# set name
setattr(batch_node, "name", node_name)
batch_node.name.set_value(node_name)
# set attributes found in node props
for key, value in node_props.items():