diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-12 15:32:17 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-12 15:32:17 -0700 |
commit | 74818cabff85d368761ee1f5a5ea55f3174eafc6 (patch) | |
tree | 971c2aa361f8276ec235e7fd905677ef84888a7c | |
parent | 0ed9325420ea098dc0b8757ab7181ee85ac10369 (diff) | |
download | sscan-74818cabff85d368761ee1f5a5ea55f3174eafc6.tar.gz |
use InfoBegin in metadata file
This should avoid pdftk error output. This output suggested the
metadata was not getting set, but it was.
-rw-r--r-- | Main.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -100,8 +100,10 @@ processScanSessDir st dir = withCurrentDirectory dir $ do defaultTimeLocale (iso8601DateFormat Nothing) (posixSecondsToUTCTime posix) - in unlines [ "InfoKey: Title" + in unlines [ "InfoBegin" + , "InfoKey: Title" , "InfoValue: scan of " ++ date + , "InfoBegin" , "InfoKey: Author" , "InfoValue: spw" ] |