Fixed bug in python_conv