Skip to content

Commit 2e5ccff

Browse files
Liam3851JoshData
authored andcommitted
Specify - for stdout to support Windows. (JoshData#37)
1 parent f3a8e48 commit 2e5ccff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdf_diff/command_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def pdf_to_bboxes(pdf_index, fn, top_margin=0, bottom_margin=100):
6161
"index": pdf_index,
6262
"file": fn,
6363
}
64-
xml = subprocess.check_output(["pdftotext", "-bbox", fn, "/dev/stdout"])
64+
xml = subprocess.check_output(["pdftotext", "-bbox", fn, "-"])
6565

6666
# This avoids PCDATA errors
6767
codes_to_avoid = [ 0, 1, 2, 3, 4, 5, 6, 7, 8,

0 commit comments

Comments
 (0)