summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}