diff -r d635680e4c2c -r 0fb54172a18b etherlab/EthercatMaster.py --- a/etherlab/EthercatMaster.py Fri Sep 28 19:16:12 2018 +0300 +++ b/etherlab/EthercatMaster.py Fri Sep 28 19:20:32 2018 +0300 @@ -444,14 +444,14 @@ dialog = wx.MessageDialog(app_frame, _("The current network configuration will be deleted.\nDo you want to continue?"), _("Scan Network"), - wx.YES_NO|wx.ICON_QUESTION) + wx.YES_NO | wx.ICON_QUESTION) execute = dialog.ShowModal() == wx.ID_YES dialog.Destroy() if execute: error, returnVal = self.RemoteExec(SCAN_COMMAND, returnVal=None) if error != 0: - dialog = wx.MessageDialog(app_frame, returnVal, "Error", wx.OK|wx.ICON_ERROR) + dialog = wx.MessageDialog(app_frame, returnVal, "Error", wx.OK | wx.ICON_ERROR) dialog.ShowModal() dialog.Destroy() elif returnVal is not None: