From b666fad92b8d4d5329c9babdce2e61dd0ee56a55 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 3 Jun 2020 12:17:12 +0100 Subject: Fix bug in analyse step of bookpipeline --- cmd/bookpipeline/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go index 7e93b9d..9ee6856 100644 --- a/cmd/bookpipeline/main.go +++ b/cmd/bookpipeline/main.go @@ -321,8 +321,8 @@ func analyse(conn Pipeliner) func(chan string, chan string, chan error, *log.Log fn = nosuffix + ".jpg" } - binimgs = append(binimgs, pageimg{hocr: pg, img: nosuffix + ".png"}) - colourimgs = append(colourimgs, pageimg{hocr: pg, img: fn}) + binimgs = append(binimgs, pageimg{hocr: base, img: nosuffix + ".png"}) + colourimgs = append(colourimgs, pageimg{hocr: base, img: fn}) } for _, pg := range binimgs { -- cgit v1.2.1-24-ge1ad