Fix Python failure