diff -r 045df8ecc8b3 -r 87eb184414bd etherlab/EthercatMaster.py --- a/etherlab/EthercatMaster.py Sat Sep 29 17:12:44 2018 +0300 +++ b/etherlab/EthercatMaster.py Sat Sep 29 17:39:21 2018 +0300 @@ -249,7 +249,7 @@ if error is not None: self.GetCTRoot().logger.write_error( - _("Couldn't load %s network configuration file.") % CTNName) + _("Couldn't load %s network configuration file.") % self.CTNName()) if self.Config is None: self.Config = EtherCATConfigParser.CreateElement("EtherCATConfig") @@ -270,7 +270,7 @@ if error is not None: self.GetCTRoot().logger.write_error( - _("Couldn't load %s network process variables file.") % CTNName) + _("Couldn't load %s network process variables file.") % self.CTNName()) if self.ProcessVariables is None: self.ProcessVariables = ProcessVariablesParser.CreateElement("ProcessVariables")