ignore none as epub metadata value

This commit is contained in:
j 2015-11-16 16:52:36 +01:00
commit fba2fa78ce
2 changed files with 1 additions and 2 deletions

View file

@ -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',