summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-06-03 12:17:12 +0100
committerNick White <git@njw.name>2020-06-03 12:17:12 +0100
commitb666fad92b8d4d5329c9babdce2e61dd0ee56a55 (patch)
tree92507911c94dc6a19185b0fa5c724c8faebb7b23 /cmd
parent7c564921465d2531db9308c14a21ac392fdcb289 (diff)
Fix bug in analyse step of bookpipeline
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bookpipeline/main.go4
1 files changed, 2 insertions, 2 deletions
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 {