Try protocol where Containers see "None" as metadata request.

This commit is contained in:
Marshall T. Vandegrift 2008-12-16 12:48:09 -05:00
parent e1eb545005
commit a6717b1ec3

View File

@ -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)