* morituri/program/cdparanoia.py:

* morituri/rip/offset.py:
	  Another unicode fix.
This commit is contained in:
Thomas Vander Stichele
2009-09-12 17:23:39 +00:00
parent b455f13080
commit ce7b5762f7
3 changed files with 10 additions and 2 deletions

View File

@@ -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:

View File

@@ -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

View File

@@ -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)