diff -r 5d6ce74f7835 -r 6d31ef14f396 etherlab/EthercatSlave.py --- a/etherlab/EthercatSlave.py Fri Sep 28 18:06:59 2018 +0300 +++ b/etherlab/EthercatSlave.py Fri Sep 28 18:12:18 2018 +0300 @@ -152,10 +152,11 @@ return self.CTNParent.GetSlaveVariables(self.GetSlavePos(), limits) def GetVariableLocationTree(self): - return {"name": self.BaseParams.getName(), - "type": LOCATION_CONFNODE, - "location": self.GetFullIEC_Channel(), - "children": self.CTNParent.GetDeviceLocationTree(self.GetSlavePos(), self.GetCurrentLocation(), self.BaseParams.getName()) + return { + "name": self.BaseParams.getName(), + "type": LOCATION_CONFNODE, + "location": self.GetFullIEC_Channel(), + "children": self.CTNParent.GetDeviceLocationTree(self.GetSlavePos(), self.GetCurrentLocation(), self.BaseParams.getName()) } def CTNGenerate_C(self, buildpath, locations):