Fix yet another encoding problem (bug 1124)
Time for Py3K to come around and free us of all that encoding weirdness ;)
This commit is contained in:
parent
edbad47928
commit
9a37e3111f
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ class CoverDownloader(ObservableService):
|
|||
pixbuf = None
|
||||
if os.path.exists(channel.cover_file):
|
||||
try:
|
||||
pixbuf = gtk.gdk.pixbuf_new_from_file(util.sanitize_encoding(channel.cover_file))
|
||||
pixbuf = gtk.gdk.pixbuf_new_from_file(channel.cover_file.decode(util.encoding, 'ignore'))
|
||||
except:
|
||||
log('Data error while loading %s', channel.cover_file, sender=self)
|
||||
|
||||
|
|
Loading…
Reference in a new issue