Fix #4727 (AttributeError: 'MetaInformation' object has no attribute 'thumnbail')

This commit is contained in:
Kovid Goyal 2010-01-29 13:09:47 -07:00
parent 2a51e38d22
commit 5fb1d6ab82

View File

@ -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: