From eb8b9bf1662ef3872064d491b8925c264763f278 Mon Sep 17 00:00:00 2001 From: Cervinko Cera Date: Sun, 7 Aug 2016 23:34:23 +0200 Subject: [PATCH] Fix for missing metadata in pdf files --- cps/book_formats.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cps/book_formats.py b/cps/book_formats.py index 6c4aa555..894c71c5 100644 --- a/cps/book_formats.py +++ b/cps/book_formats.py @@ -70,7 +70,6 @@ def pdf_meta(tmp_file_path, original_file_name, original_file_extension): doc_info = None if (doc_info is not None): - print doc_info 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