summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
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 {