summaryrefslogtreecommitdiff
path: root/cmd/iiifdownloader/main.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-06-23 13:58:46 +0100
committerNick White <git@njw.name>2020-06-23 13:58:46 +0100
commit19e74f4157970997835e9a3fb6941455129a2cd0 (patch)
tree749f8a7b4e68224fbbd2795b202a4d683b2f07d1 /cmd/iiifdownloader/main.go
parent6464846d1e6ee9c339f71abca1a2284051ad22ac (diff)
[iiifdownloader] Only remove 1 duplicate page, as 2nd one may not be duplicate (no way of knowing as if it is its downsized)
Diffstat (limited to 'cmd/iiifdownloader/main.go')
-rw-r--r--cmd/iiifdownloader/main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/iiifdownloader/main.go b/cmd/iiifdownloader/main.go
index f6ad6ca..7329549 100644
--- a/cmd/iiifdownloader/main.go
+++ b/cmd/iiifdownloader/main.go
@@ -177,10 +177,6 @@ func main() {
if err != nil {
log.Fatalf("Error removing dupilicate page %d: %v", fn, err)
}
- err = os.Remove(fn2)
- if err != nil {
- log.Fatalf("Error removing dupilicate page %d: %v", fn2, err)
- }
return
}
}