mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-10 23:36:48 +01:00
Fix #4727 (AttributeError: 'MetaInformation' object has no attribute 'thumnbail')
This commit is contained in:
parent
2a51e38d22
commit
5fb1d6ab82
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ def add_book(self, mi, name, size, ctime):
|
|||
node.setAttribute(attr, attrs[attr])
|
||||
try:
|
||||
w, h, data = mi.thumbnail
|
||||
except TypeError:
|
||||
except:
|
||||
w, h, data = None, None, None
|
||||
|
||||
if data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue