1
0
mirror of synced 2024-12-23 05:09:58 +01:00

Remove a leftover pdf metadata

This commit is contained in:
jvoisin 2018-05-14 22:44:17 +02:00
parent b02d72887a
commit ef956e84d6

View File

@ -107,6 +107,7 @@ class PDFParser(abstract.AbstractParser):
document = Poppler.Document.new_from_file('file://' + in_file)
document.set_producer('')
document.set_creator('')
document.set_creation_date(-1)
document.save('file://' + os.path.abspath(out_file))
return True