summaryrefslogtreecommitdiff
path: root/cmd/iiifdownloader/main.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-07-23 16:25:13 +0100
committerNick White <git@njw.name>2021-07-23 16:25:13 +0100
commit9dc9796fa637829b8be72d0721dc2da707c84451 (patch)
tree73c694637ae35ada146f0ef7b2286363df9f8ecb /cmd/iiifdownloader/main.go
parentb571f780dcc4baafa659bebbc316204a46e42f4f (diff)
iiifdownloader: Fixed error printing
Diffstat (limited to 'cmd/iiifdownloader/main.go')
-rw-r--r--cmd/iiifdownloader/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/iiifdownloader/main.go b/cmd/iiifdownloader/main.go
index 6ae2f52..87bd9a7 100644
--- a/cmd/iiifdownloader/main.go
+++ b/cmd/iiifdownloader/main.go
@@ -332,7 +332,7 @@ func dlNoPgNums(bookdir, pgurlStart, pgurlEnd, pgurlAltStart, pgurlAltEnd string
fmt.Println("Last 2 pages were identical, looks like it's the end of the book")
err = os.Remove(fn1)
if err != nil {
- return fmt.Errorf("Error removing dupilicate page %d: %v", fn1, err)
+ return fmt.Errorf("Error removing dupilicate page %s: %v", fn1, err)
}
return nil
}