From 596ba46590fe546d304ce3730ddc9b4de4f45f37 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 19 May 2010 07:36:42 -0600 Subject: [PATCH] ... --- src/calibre/devices/prs505/sony_cache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/devices/prs505/sony_cache.py b/src/calibre/devices/prs505/sony_cache.py index f365bba3ab..b81867dc7f 100644 --- a/src/calibre/devices/prs505/sony_cache.py +++ b/src/calibre/devices/prs505/sony_cache.py @@ -184,8 +184,7 @@ class XMLCache(object): 'descendant::*[local-name()="png"]'): if img.text: raw = b64decode(img.text.strip()) - ext = img.tag.split('}')[-1] - book.cover_data = [ext, raw] + book.thumbnail = raw break break # }}}