From e383cd7a03bedef3054146b9f3969f9042d1a620 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Thu, 14 Oct 2021 15:55:56 +0100 Subject: [PATCH] more --- cpdfjson.ml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpdfjson.ml b/cpdfjson.ml index 5ea6869..55098c5 100644 --- a/cpdfjson.ml +++ b/cpdfjson.ml @@ -433,9 +433,7 @@ let of_input i = try match i.Pdfio.caml_channel with | Some ch -> - let r = pdf_of_json (J.from_channel ch) in - Pdfwrite.pdf_to_file r "debug.pdf"; - r + pdf_of_json (J.from_channel ch) | None -> let content = Pdfio.string_of_bytes (Pdfio.bytes_of_input i 0 i.Pdfio.in_channel_length) in pdf_of_json (J.from_string content)