Skip to content
Snippets Groups Projects
Commit af780224 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

cleanup

parent d316c5e7
No related branches found
No related tags found
1 merge request!241Draft: Use ps in pdf sanitize
...@@ -10,6 +10,4 @@ writer = PdfWriter(clone_from="cv.pdf") ...@@ -10,6 +10,4 @@ writer = PdfWriter(clone_from="cv.pdf")
writer.add_js('app.alert("ICanSubmitTheContentOfThisFileAnywhere.");') writer.add_js('app.alert("ICanSubmitTheContentOfThisFileAnywhere.");')
with open("cv-with-js.pdf", "wb") as fp: with open("cv-with-js.pdf", "wb") as fp:
writer.write(fp) writer.write(fp)
writer = PdfWriter(clone_from="cv-with-js.pdf")
``` ```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment