diff --git a/src/dynamic_graph/entity.py b/src/dynamic_graph/entity.py index 53a31fe8f23292b67ae26e27c2fc588571a53fdf..c3be0f9599a395e901d6604b772a4244bd257c59 100644 --- a/src/dynamic_graph/entity.py +++ b/src/dynamic_graph/entity.py @@ -26,6 +26,8 @@ def updateEntityClasses(dictionary): a.class_name = e # set class constructor setattr(a, '__init__', initEntity) + # set class attribute to store whether command methods have been created + setattr(a, 'commandCreated', False) # Store new class in dictionary with class name dictionary[e] = a # Store class name in local list