ignore none as epub metadata value
This commit is contained in:
parent
d30ff2b4de
commit
fba2fa78ce
2 changed files with 1 additions and 2 deletions
|
|
@ -41,7 +41,6 @@ def metadata(f, from_=None):
|
|||
metadata_opf = os.path.join(os.path.dirname(from_ or f), 'metadata.opf')
|
||||
if os.path.exists(metadata_opf):
|
||||
opf_info = opf.info(metadata_opf)
|
||||
|
||||
for key in (
|
||||
'title', 'author', 'date', 'publisher', 'description',
|
||||
'language', 'textsize', 'pages',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue