Fix typo in pdf-meta that was preventing title metadata from being read

This commit is contained in:
Kovid Goyal 2008-04-01 20:26:43 +00:00
parent f506dbd90d
commit 60b9efc78e

View File

@ -18,7 +18,7 @@ def get_metadata(stream):
try: try:
info = PdfFileReader(stream).getDocumentInfo() info = PdfFileReader(stream).getDocumentInfo()
if info.title: if info.title:
mi.title = title mi.title = info.title
if info.author: if info.author:
src = info.author.split('&') src = info.author.split('&')
authors = [] authors = []