def inviteChum(self, handle, channel): h = str(handle) c = str(channel) try: helpers.invite(self.cli, h, c) except socket.error: self.setConnectionBroken()
def inviteChum(self, handle, channel): h = unicode(handle) c = unicode(channel) try: helpers.invite(self.cli, h, c) except socket.error: self.setConnectionBroken()