aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-03-12 15:32:17 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-03-12 15:32:17 -0700
commit74818cabff85d368761ee1f5a5ea55f3174eafc6 (patch)
tree971c2aa361f8276ec235e7fd905677ef84888a7c
parent0ed9325420ea098dc0b8757ab7181ee85ac10369 (diff)
downloadsscan-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.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 47b6b18..cdc7c4b 100644
--- a/Main.hs
+++ b/Main.hs
@@ -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"
]