diff --git a/whipper/command/cd.py b/whipper/command/cd.py index c7b7569..9c86de7 100644 --- a/whipper/command/cd.py +++ b/whipper/command/cd.py @@ -474,7 +474,7 @@ Log files will log the path to tracks relative to this directory. for i, track in enumerate(self.itable.tracks): # FIXME: rip data tracks differently if not track.audio: - print('skipping data track %d, not implemented' % i + 1) + print 'skipping data track %d, not implemented' % (i + 1) # FIXME: make it work for now track.indexes[1].relative = 0 continue diff --git a/whipper/common/program.py b/whipper/common/program.py index 349446e..4a3f3fd 100644 --- a/whipper/common/program.py +++ b/whipper/common/program.py @@ -590,7 +590,7 @@ class Program: def write_m3u(self, discname): m3uPath = u'%s.m3u' % discname with open(m3uPath, 'w') as f: - f.write(u'#EXTM3U\n') + f.write(u'#EXTM3U\n'.encode('utf-8')) for track in self.result.tracks: if not track.filename: # false positive htoa