From c0b11c696417e622bc9fae25afe91c66b204e229 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 2 Mar 2013 23:32:30 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/polish/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index 34ef72a9bf..db55f9579d 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -88,7 +88,7 @@ class Container(object): self.mime_map[name] = guess_type('a.opf') if not hasattr(self, 'opf_name'): - raise InvalidBook('Book has no OPF file') + raise InvalidBook('Could not locate opf file: %r'%opfpath) # Update mime map with data from the OPF for item in self.opf_xpath('//opf:manifest/opf:item[@href and @media-type]'):