summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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