mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-14 07:03:50 +00:00
Fix for missing metadata in pdf files
This commit is contained in:
parent
ae1ecf6542
commit
eb8b9bf166
@ -70,7 +70,6 @@ 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):
|
||||||
print doc_info
|
|
||||||
author = doc_info.author if doc_info.author is not None else "Unknown"
|
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
|
title = doc_info.title if doc_info.title is not None else original_file_name
|
||||||
subject = doc_info.subject
|
subject = doc_info.subject
|
||||||
|
Loading…
Reference in New Issue
Block a user