From 2bf8016a4572d5f83812c03785db3d4248dac449 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 28 Feb 2022 17:00:27 +0000 Subject: rescribe: Add " searchable" to file name for saved PDF --- cmd/rescribe/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go index 54623b1..14f0053 100644 --- a/cmd/rescribe/main.go +++ b/cmd/rescribe/main.go @@ -544,7 +544,7 @@ func startProcess(ctx context.Context, logger log.Logger, tessCommand string, bo // to .pdf. binpath := filepath.Join(savedir, bookname+".binarised.pdf") colourpath := filepath.Join(savedir, bookname+".colour.pdf") - pdfpath := filepath.Join(savedir, bookname+".pdf") + pdfpath := filepath.Join(savedir, bookname+" searchable.pdf") _, err = os.Stat(binpath) binexists := err == nil || os.IsExist(err) -- cgit v1.2.1-24-ge1ad