make controlled_by configuration work properly

- secnode.py: initialize all modules before creating description
- fixes in ctrlby.py
This commit is contained in:
2025-10-30 12:22:00 +01:00
parent 2a4a37ed2f
commit b45635e4f8
2 changed files with 5 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ class WrapControlledBy:
prev_enum = self.parameters['controlled_by'].datatype.export_datatype()['members']
# add enum member, using autoincrement feature of Enum
self.parameters['controlled_by'].datatype = EnumType(Enum(prev_enum, **{name: None}))
self.log.info('enumtype %r', self.parameters['controlled_by'].datatype)
def write_controlled_by(self, modulename):
result = modulename