mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f058f9adab
commit
06723a0748
@ -166,7 +166,6 @@ class FB2MLizer(object):
|
||||
cover_item = self.oeb_book.manifest.ids[id]
|
||||
if cover_item.media_type in OEB_RASTER_IMAGES:
|
||||
cover_href = cover_item.href
|
||||
print 1
|
||||
else:
|
||||
# Figure out if we have a title page or a cover page
|
||||
page_name = ''
|
||||
@ -180,7 +179,6 @@ class FB2MLizer(object):
|
||||
# Get the first image in the page
|
||||
for img in cover_item.xpath('//img'):
|
||||
cover_href = cover_item.abshref(img.get('src'))
|
||||
print cover_href
|
||||
break
|
||||
|
||||
if cover_href:
|
||||
|
Loading…
x
Reference in New Issue
Block a user