summaryrefslogtreecommitdiff
path: root/cmd/rescribe/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rescribe/main.go')
-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 14f0053..83153c6 100644
--- a/cmd/rescribe/main.go
+++ b/cmd/rescribe/main.go
@@ -376,7 +376,7 @@ func extractPdfImgs(ctx context.Context, path string) (string, error) {
continue
}
- fn := fmt.Sprintf("%s-%04d.jpg", k, pgnum)
+ fn := fmt.Sprintf("%04d-%s.jpg", pgnum, k)
path := filepath.Join(tempdir, fn)
w, err := os.Create(path)
defer w.Close()