summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-12-11 16:04:14 +0000
committerNick White <git@njw.name>2019-12-11 16:04:14 +0000
commitce1ff46135122959cf8991a90bf7c6cb4d9e0e30 (patch)
tree5b066103ca4af9bd63ed324854f21be8378a7b88 /cmd
parent162b3a11fb679adcd1918766d116b8eaa867063e (diff)
Fix typo incorrectly screwing up PDFs
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bookpipeline/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 75433fb..aa6853f 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -325,7 +325,7 @@ func analyse(conn Pipeliner) func(chan string, chan string, chan error, *log.Log
}
}
if err == nil {
- err = binarisedpdf.AddPage(filepath.Join(savedir, colourfn), pg, true)
+ err = colourpdf.AddPage(filepath.Join(savedir, colourfn), pg, true)
if err != nil {
close(up)
errc <- errors.New(fmt.Sprintf("Failed to add page %s to PDF: %s", colourfn, err))