changeset 2370 | e40f3914e55f |
parent 2367 | 0fb54172a18b |
child 2375 | cfa68a06a24d |
--- a/etherlab/EthercatMaster.py Fri Sep 28 19:25:18 2018 +0300 +++ b/etherlab/EthercatMaster.py Fri Sep 28 19:30:16 2018 +0300 @@ -95,6 +95,7 @@ # Ethercat MASTER # -------------------------------------------------- + EtherCATConfigParser = GenerateParserFromXSD(os.path.join(os.path.dirname(__file__), "EtherCATConfig.xsd")) @@ -103,6 +104,7 @@ return cmp(x["Subindex"], y["Subindex"]) return cmp(x["Index"], y["Index"]) + cls = EtherCATConfigParser.GetElementClass("Slave", "Config") if cls: