aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-03-12 16:19:18 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-03-12 16:19:18 -0700
commit0c701f1455e3a92d8ee1da6c33a9c24087093ca7 (patch)
treea2bab166f66ab87758b391bf53698631bc24802b
parenta8660f5c7c3516e0650d63131d1ca6b5be10eddc (diff)
downloadsscan-0c701f1455e3a92d8ee1da6c33a9c24087093ca7.tar.gz
drop superfluous void
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index bbabb5b..d034600 100644
--- a/Main.hs
+++ b/Main.hs
@@ -67,7 +67,7 @@ processScanSessDir st dir = withCurrentDirectory dir $ do
renamePath (dir </> "temp.pdf") (dir </> "temp2.pdf")
-- OCRmyPDF dies if stdout is not connected, so tell it
-- to output to stdout
- void $ withBinaryFile "temp.pdf" WriteMode $ \tempFile -> do
+ withBinaryFile "temp.pdf" WriteMode $ \tempFile -> do
(_, _, Just herr, p) <- createProcess_ "OCRmyPDF"
-- we'd like to use --remove-background here, but then
-- qpdf says that ocrmypdf's output is damaged.