mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Try protocol where Containers see "None" as metadata request.
This commit is contained in:
parent
e1eb545005
commit
a6717b1ec3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user