We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a8e48 commit 2e5ccffCopy full SHA for 2e5ccff
pdf_diff/command_line.py
@@ -61,7 +61,7 @@ def pdf_to_bboxes(pdf_index, fn, top_margin=0, bottom_margin=100):
61
"index": pdf_index,
62
"file": fn,
63
}
64
- xml = subprocess.check_output(["pdftotext", "-bbox", fn, "/dev/stdout"])
+ xml = subprocess.check_output(["pdftotext", "-bbox", fn, "-"])
65
66
# This avoids PCDATA errors
67
codes_to_avoid = [ 0, 1, 2, 3, 4, 5, 6, 7, 8,
0 commit comments