mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Check Book: Silence incorrect warning about guide references to cover image in azw3 format
This commit is contained in:
parent
a3c57067d0
commit
efd349ae89
@ -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…
x
Reference in New Issue
Block a user