From 5fb1d6ab82ad774f2a4d4400856493266e7cfef2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 29 Jan 2010 13:09:47 -0700 Subject: [PATCH] Fix #4727 (AttributeError: 'MetaInformation' object has no attribute 'thumnbail') --- src/calibre/devices/prs500/books.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/prs500/books.py b/src/calibre/devices/prs500/books.py index 07f9310e87..91fcb3255f 100644 --- a/src/calibre/devices/prs500/books.py +++ b/src/calibre/devices/prs500/books.py @@ -274,7 +274,7 @@ class BookList(_BookList): node.setAttribute(attr, attrs[attr]) try: w, h, data = mi.thumbnail - except TypeError: + except: w, h, data = None, None, None if data: