mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1704225 [Private bug](https://bugs.launchpad.net/calibre/+bug/1704225)
This commit is contained in:
parent
37bd4825dc
commit
8d36d399d7
@ -400,6 +400,8 @@ class OEBReader(object):
|
||||
continue
|
||||
href = item.abshref(urlnormalize(href[0])) if href and href[0] else ''
|
||||
path, _ = urldefrag(href)
|
||||
if path and path not in self.oeb.manifest.hrefs:
|
||||
path = urlnormalize(path)
|
||||
if href and path not in self.oeb.manifest.hrefs:
|
||||
self.logger.warn('TOC reference %r not found' % href)
|
||||
gc = xpath(child, 'ncx:navPoint')
|
||||
|
Loading…
x
Reference in New Issue
Block a user