diff options
author | Nick White <git@njw.name> | 2021-07-23 16:25:13 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-07-23 16:25:13 +0100 |
commit | 9dc9796fa637829b8be72d0721dc2da707c84451 (patch) | |
tree | 73c694637ae35ada146f0ef7b2286363df9f8ecb /cmd | |
parent | b571f780dcc4baafa659bebbc316204a46e42f4f (diff) |
iiifdownloader: Fixed error printing
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/iiifdownloader/main.go | 2 |
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 } |