[py] fix report error