add debug

This commit is contained in:
Thomas Vander Stichele
2011-05-30 13:08:29 +00:00
parent 2a48caa0b8
commit faf18f32f6
2 changed files with 2 additions and 2 deletions

View File

@@ -615,10 +615,9 @@ class Program(log.Loggable):
return res
def writeCue(self, discName):
self.debug('write .cue file')
assert self.result.table.canCue()
cuePath = '%s.cue' % discName
self.debug('write .cue file to %s', cuePath)
handle = open(cuePath, 'w')
# FIXME: do we always want utf-8 ?
handle.write(self.result.table.cue().encode('utf-8'))