summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-06-03 14:01:25 +0100
committerNick White <git@njw.name>2020-06-03 14:01:25 +0100
commit2de8fba408b1ccd818a0af42e5c16fb09ef35f58 (patch)
tree67c4af48e136901dc9e358f7ff2722e3d41ccb91 /cmd
parentb666fad92b8d4d5329c9babdce2e61dd0ee56a55 (diff)
Hopefully fix last bug in analyse step of bookpipeline
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 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