Skip to content

Commit 53eb678

Browse files
committed
fixing a type from dettach to detach in separate method in Node
1 parent 694440c commit 53eb678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

famodel/famodel_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def separate(self, object):
220220
# Register the separation in higher level objects if applicable
221221
if isinstance(self.part_of, Edge) and isinstance(object.attached_to, Node):
222222
end = self.part_of.findEnd(self)
223-
object.attached_to.dettach(self.part_of, end=end)
223+
object.attached_to.detach(self.part_of, end=end)
224224

225225
elif isinstance(self.attached_to, Node) and isinstance(object.part_of, Edge):
226226
end = object.part_of.findEnd(object)

0 commit comments

Comments
 (0)