Changed format string to {0} instead of {} to make it python2.6 compatible.