summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/weepinbell/http/downloader.clj1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/weepinbell/http/downloader.clj b/src/weepinbell/http/downloader.clj
index 0e817a6..d1a6df1 100644
--- a/src/weepinbell/http/downloader.clj
+++ b/src/weepinbell/http/downloader.clj
@@ -25,5 +25,6 @@
;; when download failed
(catch Exception e
(timbre/error "Download error:" (.getMessage e))
+ (io/delete-file (io/file dest-path))
false)))