mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Fixed invalid syntax.
This commit is contained in:
parent
6babcc2ad4
commit
47db16580a
3 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,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' % (self.id, i, self.track[i])
|
||||
new.write('%s.track.%r:\t%s\n' % (self.id, i, self.track[i]))
|
||||
old.close()
|
||||
new.close()
|
||||
posix.rename(filename + '.new', filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue