Update pdf upload
Translation of uploadprogress dialog
This commit is contained in:
Ozzieisaacs
2019-02-24 19:23:51 +01:00
parent 17b7333992
commit f6fbe2e135
10 changed files with 471 additions and 489 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ def default_meta(tmp_file_path, original_file_name, original_file_extension):
def pdf_meta(tmp_file_path, original_file_name, original_file_extension):
if use_pdf_meta:
pdf = PdfFileReader(open(tmp_file_path, 'rb'))
pdf = PdfFileReader(open(tmp_file_path, 'rb'), strict=False)
doc_info = pdf.getDocumentInfo()
else:
doc_info = None