Fix triplets_integration_weights_py which is not usually used.
Minor fix