Fixed call to python