mirror of https://github.com/python/cpython
Fix missing string formatting argument.
This commit is contained in:
parent
1247775afa
commit
616e8fc5ad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue