* morituri/program/cdparanoia.py:
* morituri/rip/offset.py: Another unicode fix.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/program/cdparanoia.py:
|
||||
* morituri/rip/offset.py:
|
||||
Another unicode fix.
|
||||
|
||||
2009-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* HACKING:
|
||||
|
||||
@@ -183,7 +183,7 @@ class ReadTrackTask(task.Task):
|
||||
Read the given track.
|
||||
|
||||
@param path: where to store the ripped track
|
||||
@type path: str
|
||||
@type path: unicode
|
||||
@param table: table of contents of CD
|
||||
@type table: L{table.Table}
|
||||
@param start: first frame to rip
|
||||
@@ -195,6 +195,8 @@ class ReadTrackTask(task.Task):
|
||||
@param device: the device to rip from
|
||||
@type device: str
|
||||
"""
|
||||
assert type(path) is unicode, "%r is not unicode" % path
|
||||
|
||||
self.path = path
|
||||
self._table = table
|
||||
self._start = start
|
||||
|
||||
@@ -155,7 +155,7 @@ CD in the AccurateRip database."""
|
||||
self.debug('Ripping track %r with offset %d ...', track, offset)
|
||||
|
||||
fd, path = tempfile.mkstemp(
|
||||
suffix='.track%02d.offset%d.morituri.wav' % (
|
||||
suffix=u'.track%02d.offset%d.morituri.wav' % (
|
||||
track, offset))
|
||||
os.close(fd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user