def delete(self, del_id):
        '''
        Delete the id
        '''
        if MReply2User.delete(del_id):
            output = {'del_zan': 1}
        else:
            output = {'del_zan': 0}
        return json.dump(output, self)
def delete ( self , del_id ) : if MReply2User . delete ( del_id ) : output = { 'del_zan' : 1 } else : output = { 'del_zan' : 0 } return json . dump ( output , self )
Delete the id