Skip to content
Snippets Groups Projects
Commit 2746e52f authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Fix error finding modules in MultiModuleConstant

parent a537f3a3
No related branches found
No related tags found
1 merge request!885Revised CalCat API
......@@ -340,7 +340,7 @@ class MultiModuleConstant(Mapping):
for m in self.module_details:
names = (m["module_number"], m["virtual_device_name"], m["physical_name"])
if key in names and m["karabo_da"] in self.constants:
candidate_kdas.add([m["karabo_da"]])
candidate_kdas.add(m["karabo_da"])
if not candidate_kdas:
raise KeyError(key)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment