mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix typo in pdf-meta that was preventing title metadata from being read
This commit is contained in:
parent
f506dbd90d
commit
60b9efc78e
@ -18,7 +18,7 @@ def get_metadata(stream):
|
||||
try:
|
||||
info = PdfFileReader(stream).getDocumentInfo()
|
||||
if info.title:
|
||||
mi.title = title
|
||||
mi.title = info.title
|
||||
if info.author:
|
||||
src = info.author.split('&')
|
||||
authors = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user