summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-02-28 17:00:27 +0000
committerNick White <git@njw.name>2022-02-28 17:00:27 +0000
commit2bf8016a4572d5f83812c03785db3d4248dac449 (patch)
tree44b196eb937acafc4c5e3efeac0ca7b7c587d357
parenta116e67e9b297c32c7dfa802cdf9fef54a2e0a74 (diff)
rescribe: Add " searchable" to file name for saved PDF
-rw-r--r--cmd/rescribe/main.go2
1 files changed, 1 insertions, 1 deletions
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)