From a6717b1ec36799849f31e80223242f46c48d9168 Mon Sep 17 00:00:00 2001 From: "Marshall T. Vandegrift" Date: Tue, 16 Dec 2008 12:48:09 -0500 Subject: [PATCH] Try protocol where Containers see "None" as metadata request. --- src/calibre/ebooks/lit/oeb.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/calibre/ebooks/lit/oeb.py b/src/calibre/ebooks/lit/oeb.py index 8ef7f41add..02a4996dd0 100644 --- a/src/calibre/ebooks/lit/oeb.py +++ b/src/calibre/ebooks/lit/oeb.py @@ -524,8 +524,6 @@ class TOC(object): class OEBBook(object): def __init__(self, opfpath=None, container=None): - if not opfpath: - opfpath = 'content.opf' if not container: container = DirContainer(os.path.dirname(opfpath)) opfpath = os.path.basename(opfpath)