fix minor string handling minibugs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user