From b1155ed183f3aaa411fd6c63479d3084395384d5 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 8 Apr 2010 21:07:25 +0000 Subject: [PATCH] * morituri/rip/image.py: Fix problem to encode from files with unicode chars. --- ChangeLog | 5 +++++ morituri/rip/image.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b7a22e4..59aca0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-08 Thomas Vander Stichele + + * morituri/rip/image.py: + Fix problem to encode from files with unicode chars. + 2010-04-08 Thomas Vander Stichele * morituri/program/cdparanoia.py: diff --git a/morituri/rip/image.py b/morituri/rip/image.py index 18d7f79..0ff3732 100644 --- a/morituri/rip/image.py +++ b/morituri/rip/image.py @@ -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)