From 97931077e0e8ff2e8d60c2768470fd641fbc40e7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 24 Jan 2012 12:39:04 +0530 Subject: [PATCH] Conversion pipeline: Fix items in the that refer to files with URL unsafe filenames being ignored. Fixes #920804 (Private bug) --- src/calibre/ebooks/oeb/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/reader.py b/src/calibre/ebooks/oeb/reader.py index 6b2cf798ea..3d44589e6d 100644 --- a/src/calibre/ebooks/oeb/reader.py +++ b/src/calibre/ebooks/oeb/reader.py @@ -327,7 +327,7 @@ class OEBReader(object): manifest = self.oeb.manifest for elem in xpath(opf, '/o2:package/o2:guide/o2:reference'): href = elem.get('href') - path = urldefrag(href)[0] + path = urlnormalize(urldefrag(href)[0]) if path not in manifest.hrefs: self.logger.warn(u'Guide reference %r not found' % href) continue