From 3afc5b705017a11770ea6375f30f38ee2170e98f Mon Sep 17 00:00:00 2001 From: Ivan Frade Date: Mon, 25 Jan 2010 01:53:56 +0200 Subject: [PATCH] Unicode utf8 fails on the device. --- src/album_art_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/album_art_spec.py b/src/album_art_spec.py index 4735c65..a44e895 100644 --- a/src/album_art_spec.py +++ b/src/album_art_spec.py @@ -13,7 +13,7 @@ THUMBS_LOCATION = os.getenv ("HOME") + "/.thumbnails/cropped/" def getCoverArtFileName (album): """Returns the cover art's filename that is formed from the album name.""" - album = unicode (album, "utf8") + album = unicode (album) albumString=dropInsideContent(album,"[","]" ) albumString=dropInsideContent(albumString,"{","}" ) albumString=dropInsideContent(albumString,"(",")" ) -- 1.7.9.5