server: remove unnecessary nesting in SecopInteractor.get_components
This commit is contained in:
2
secop.py
2
secop.py
@ -60,7 +60,7 @@ class SecopInteractor(SecopClient):
|
||||
for name, p in parameters.items():
|
||||
components.append(convert_par(path, name, parameters[name]))
|
||||
components.extend(components1)
|
||||
return dict(type='draw', path=path, title=path, components=components)
|
||||
return components
|
||||
|
||||
def updateItem(self, module, parameter, entry):
|
||||
key = module, parameter
|
||||
|
Reference in New Issue
Block a user