From 2de8fba408b1ccd818a0af42e5c16fb09ef35f58 Mon Sep 17 00:00:00 2001
From: Nick White <git@njw.name>
Date: Wed, 3 Jun 2020 14:01:25 +0100
Subject: Hopefully fix last bug in analyse step of bookpipeline

---
 cmd/bookpipeline/main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 9ee6856..16ce596 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -373,7 +373,7 @@ func analyse(conn Pipeliner) func(chan string, chan string, chan error, *log.Log
 				}
 			}
 			if err == nil {
-				err = colourpdf.AddPage(filepath.Join(savedir, colourfn), pg.hocr, true)
+				err = colourpdf.AddPage(filepath.Join(savedir, colourfn), filepath.Join(savedir, pg.hocr), true)
 				if err != nil {
 					errc <- fmt.Errorf("Failed to add page %s to PDF: %s", pg.img, err)
 					return
-- 
cgit v1.2.1-24-ge1ad