mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:43:51 +02:00
Check Book: Silence incorrect warning about guide references to cover image in azw3 format
This commit is contained in:
parent
a3c57067d0
commit
efd349ae89
1 changed files with 2 additions and 0 deletions
|
|
@ -228,6 +228,8 @@ def check_link_destinations(container):
|
|||
check_link_destination(container, dest_map, name, href, a, errors)
|
||||
elif mt == opf_type:
|
||||
for a in container.opf_xpath('//opf:reference[@href]'):
|
||||
if container.book_type == 'azw3' and a.get('type') in {'cover', 'other.ms-coverimage-standard', 'other.ms-coverimage'}:
|
||||
continue
|
||||
href = a.get('href')
|
||||
check_link_destination(container, dest_map, name, href, a, errors)
|
||||
elif mt == ncx_type:
|
||||
|
|
|
|||
Loading…
Reference in a new issue