Weights to Vertex Colors addon

Trying to use WeightToColor.py in 2.79 and keep getting error message about needing 4 something and only have 3. I’ll try to get a screen shot. Hope you can help, thanks.