diff options
author | Nick White <git@njw.name> | 2020-06-23 13:58:46 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-06-23 13:58:46 +0100 |
commit | 19e74f4157970997835e9a3fb6941455129a2cd0 (patch) | |
tree | 749f8a7b4e68224fbbd2795b202a4d683b2f07d1 | |
parent | 6464846d1e6ee9c339f71abca1a2284051ad22ac (diff) |
[iiifdownloader] Only remove 1 duplicate page, as 2nd one may not be duplicate (no way of knowing as if it is its downsized)
-rw-r--r-- | cmd/iiifdownloader/main.go | 4 |
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 } } |