Remove a leftover pdf metadata
This commit is contained in:
parent
b02d72887a
commit
ef956e84d6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user