Made tiny change.

I don't know exactly what the error is. Make sure you str() everything.