Using flag algebras, we improve the best known bound for the triangle case of the Caccetta-Haggkvist conjecture.