From ce1ff46135122959cf8991a90bf7c6cb4d9e0e30 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 11 Dec 2019 16:04:14 +0000 Subject: Fix typo incorrectly screwing up PDFs --- cmd/bookpipeline/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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)) -- cgit v1.2.1-24-ge1ad