summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-05-29 17:34:04 +0100
committerNick White <git@njw.name>2020-05-29 17:34:04 +0100
commit28547cd18571c102f1905475caa0667021288ad9 (patch)
treef12209202729c354b92a9120c482d2892b081076
parent06ede6badde279081c592b4408002218590b4125 (diff)
[bookpipeline] Remove local copy of original page image once preprocessed
-rw-r--r--cmd/bookpipeline/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index f5025ac..6701fcd 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -164,6 +164,7 @@ func preprocess(pre chan string, up chan string, errc chan error, logger *log.Lo
errc <- err
return
}
+ _ = os.Remove(path)
for _, p := range done {
up <- p
}