Fix missing string formatting argument.

This commit is contained in:
Georg Brandl 2010-02-08 22:37:20 +00:00
parent 1247775afa
commit 616e8fc5ad
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Cdplayer:
new.write(self.id + '.title:\t' + self.title + '\n')
new.write(self.id + '.artist:\t' + self.artist + '\n')
for i in range(1, len(self.track)):
new.write('%s.track.%r:\t%s\n' % (i, track))
new.write('%s.track.%r:\t%s\n' % (self.id, i, track))
old.close()
new.close()
posix.rename(filename + '.new', filename)