def delete_task(): search_id = request.args.get('search_id', '') result = {} result['flag'] = delOfflineTask(search_id) return json.dumps(result)
def delete_task(): search_id = request.args.get('search_id','') result = {} result['flag'] = delOfflineTask(search_id) return json.dumps(result)