Skip to content

Commit b8175d8

Browse files
committed
Fix issue #227
update link.child to link.children
1 parent 7cb3abc commit b8175d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/robot/ERobot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def hierarchy(self):
351351

352352
def recurse(link, indent=0):
353353
print(" " * indent * 2, link.name)
354-
for child in link.child:
354+
for child in link.children:
355355
recurse(child, indent + 1)
356356

357357
recurse(self.base_link)

0 commit comments

Comments
 (0)