We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27fd015 commit 511012fCopy full SHA for 511012f
anki_vector/objects.py
@@ -1439,8 +1439,7 @@ def descriptive_name(self) -> str:
1439
for obj in robot.world.visible_custom_objects:
1440
print('custom object seen with name: {0}'.format(obj.descriptive_name))
1441
"""
1442
- # Specialization of ObservableObject's method to include the object type.
1443
- return "%s id=%d" % (self.archetype.object_type.name, self.object_id)
+ return "%s id=%d" % (self.__class__.__name__, self.object_id)
1444
1445
#### Private Methods ####
1446
0 commit comments