* morituri/rip/image.py:

Fix problem to encode from files with unicode chars.
This commit is contained in:
Thomas Vander Stichele
2010-04-08 21:07:25 +00:00
parent e124c79c64
commit b1155ed183
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2010-04-08 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/image.py:
Fix problem to encode from files with unicode chars.
2010-04-08 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/program/cdparanoia.py:

View File

@@ -62,7 +62,7 @@ class Encode(logcommand.LogCommand):
runner = task.SyncRunner()
for arg in args:
arg = unicode(arg)
arg = arg.decode('utf-8')
indir = os.path.dirname(arg)
cueImage = image.Image(arg)
cueImage.setup(runner)