mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #1011 (fb22lrf: Traceback...BeautifulSoup.py)
This commit is contained in:
parent
ffd2bfa477
commit
e7c7cc64eb
@ -33,8 +33,8 @@ def get_metadata(stream):
|
||||
exts = ['.jpg']
|
||||
cdata = (exts[0][1:], b64decode(binary.string.strip()))
|
||||
|
||||
if comments and len(comments) > 1:
|
||||
comments = comments.p.contents[0]
|
||||
if comments:
|
||||
comments = u''.join(comments.findAll(text=True))
|
||||
series = soup.find("sequence")
|
||||
mi = MetaInformation(title, author)
|
||||
mi.comments = comments
|
||||
|
Loading…
x
Reference in New Issue
Block a user