Fixing python 2.6 compatibility

string.format() requires the number inside '{}' for Python 2.6.