fix bug caught by pychecker

This commit is contained in:
Thomas Vander Stichele
2009-05-22 20:08:54 +00:00
parent bedd5d1fc1
commit 42902fa2c5

View File

@@ -346,7 +346,7 @@ class Table(object, log.Loggable):
for key in CDTEXT_FIELDS:
if key not in main and self.cdtext.has_key(key):
lines.append(" %s %s" % (key, track.cdtext[key]))
lines.append(" %s %s" % (key, self.cdtext[key]))
assert self.hasTOC(), "Table does not represent a full CD TOC"
lines.append('REM DISCID %s' % self.getCDDBDiscId().upper())