Fixed a bug in Python wrapper for CustomManyParticleForce