def _requestFeedback(self, response): inbox = InboxManager() if response[0] == 'Failure': inbox.update(response[2], Identity=['requestFeedback', 'failed']) wx.MessageBox(response[1], 'FeedBack', wx.ICON_WARNING) else: inbox.update(response[2], Identity=['requestFeedback', 'sent']) wx.MessageBox('%d sent messages' % len(response[2]), 'FeedBack', wx.ICON_INFORMATION)
def _requestFeedback(self,response): inbox = InboxManager() if response[0] == "Failure": inbox.update(response[2],Identity=["requestFeedback","failed"]) wx.MessageBox(response[1],"FeedBack",wx.ICON_WARNING) else: inbox.update(response[2],Identity=["requestFeedback","sent"]) wx.MessageBox("%d sent messages"%(len(response[2])), "FeedBack",wx.ICON_INFORMATION)