diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-12 16:39:41 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-12 16:39:41 -0700 |
commit | f152afc67be8e4f55c56dda231914efff01e8dd7 (patch) | |
tree | cdb12fa9ed927e10d964d31dca297a53ab76ad23 | |
parent | 43c26a5e18650730deaabbf8d7164bbf83c4ad67 (diff) | |
download | sscan-f152afc67be8e4f55c56dda231914efff01e8dd7.tar.gz |
print out a message about waiting for threads
-rw-r--r-- | Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -190,7 +190,8 @@ scanimageArgs st = processCommand :: St -> IO () processCommand st = case st^.stScanSess of - Nothing -> return () -- quit sscan + Nothing -> putStrLn "Waiting for OCR threads to complete..." + >> return () -- quit sscan Just (ScanSess command _ maybeDir) -> case maybeDir of Nothing -> withSystemTempDirectory "sscan" $ \dir -> processCommand (setScanSessDir dir st) |