fix call pdfid

pull/2/head
Raphaël Vinot 2015-11-03 13:04:14 +01:00
parent 25279e6b57
commit 5f080e7323
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class KittenGroomerFileCheck(KittenGroomerBase):
'''Way to process PDF file'''
self.cur_file.add_log_details('processing_type', 'pdf')
xmlDoc = PDFiD(self.cur_file.src_path)
oPDFiD = cPDFiD(xmlDoc)
oPDFiD = cPDFiD(xmlDoc, True)
# TODO: other keywords?
if oPDFiD.encrypt > 0:
self.cur_file.add_log_details('encrypted', True)