|
|
@ -70,8 +70,9 @@ def pdf_meta(tmp_file_path, original_file_name, original_file_extension):
|
|
|
|
doc_info = None
|
|
|
|
doc_info = None
|
|
|
|
|
|
|
|
|
|
|
|
if (doc_info is not None):
|
|
|
|
if (doc_info is not None):
|
|
|
|
author = doc_info.author
|
|
|
|
print doc_info
|
|
|
|
title = doc_info.title
|
|
|
|
author = doc_info.author if doc_info.author is not None else "Unknown"
|
|
|
|
|
|
|
|
title = doc_info.title if doc_info.title is not None else original_file_name
|
|
|
|
subject = doc_info.subject
|
|
|
|
subject = doc_info.subject
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
author = "Unknown"
|
|
|
|
author = "Unknown"
|
|
|
|