Fixed Python2.6 string formatting bug