equal
deleted
inserted
replaced
447 wx.YES_NO|wx.ICON_QUESTION) |
447 wx.YES_NO|wx.ICON_QUESTION) |
448 execute = dialog.ShowModal() == wx.ID_YES |
448 execute = dialog.ShowModal() == wx.ID_YES |
449 dialog.Destroy() |
449 dialog.Destroy() |
450 |
450 |
451 if execute: |
451 if execute: |
452 error, returnVal = self.RemoteExec(SCAN_COMMAND, returnVal = None) |
452 error, returnVal = self.RemoteExec(SCAN_COMMAND, returnVal=None) |
453 if error != 0: |
453 if error != 0: |
454 dialog = wx.MessageDialog(app_frame, returnVal, "Error", wx.OK|wx.ICON_ERROR) |
454 dialog = wx.MessageDialog(app_frame, returnVal, "Error", wx.OK|wx.ICON_ERROR) |
455 dialog.ShowModal() |
455 dialog.ShowModal() |
456 dialog.Destroy() |
456 dialog.Destroy() |
457 elif returnVal is not None: |
457 elif returnVal is not None: |