mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-01 18:45:59 +01:00
Fix typo keywords -> keyword
On get_metadata for odt file 1844210
This commit is contained in:
parent
d1248f8260
commit
b4bdf7445b
1 changed files with 2 additions and 2 deletions
|
|
@ -179,8 +179,8 @@ def get_metadata(stream, extract_cover=True):
|
|||
mi.comments = data['description']
|
||||
if 'language' in data:
|
||||
mi.language = data['language']
|
||||
if data.get('keywords', ''):
|
||||
mi.tags = [x.strip() for x in data['keywords'].split(',') if x.strip()]
|
||||
if data.get('keyword', ''):
|
||||
mi.tags = [x.strip() for x in data['keyword'].split(',') if x.strip()]
|
||||
opfmeta = False # we need this later for the cover
|
||||
opfnocover = False
|
||||
if data.get('opf.metadata','') == 'true':
|
||||
|
|
|
|||
Loading…
Reference in a new issue