mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 19:15:56 +01:00
Fix #1269592 [Edit Book: New unreleased Manifest missing files test is buggy](https://bugs.launchpad.net/calibre/+bug/1269592)
This commit is contained in:
parent
15c2b493fa
commit
c838900d9c
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ def check_opf(container):
|
|||
seen, dups = {}, {}
|
||||
for item in container.opf_xpath('/opf:package/opf:manifest/opf:item[@href]'):
|
||||
href = item.get('href')
|
||||
if not container.exists(href):
|
||||
if not container.exists(container.href_to_name(href, container.opf_name)):
|
||||
errors.append(MissingHref(container.opf_name, href, item.sourceline))
|
||||
if href in seen:
|
||||
if href not in dups:
|
||||
|
|
|
|||
Loading…
Reference in a new issue