diff -r bc07b9910cdb -r d635680e4c2c etherlab/EthercatMaster.py --- a/etherlab/EthercatMaster.py Fri Sep 28 19:12:26 2018 +0300 +++ b/etherlab/EthercatMaster.py Fri Sep 28 19:16:12 2018 +0300 @@ -449,7 +449,7 @@ dialog.Destroy() if execute: - error, returnVal = self.RemoteExec(SCAN_COMMAND, returnVal = None) + error, returnVal = self.RemoteExec(SCAN_COMMAND, returnVal=None) if error != 0: dialog = wx.MessageDialog(app_frame, returnVal, "Error", wx.OK|wx.ICON_ERROR) dialog.ShowModal()