Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 0c3ddae

Browse files
committed
Ignore if remote file is removed
1 parent ca32a69 commit 0c3ddae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tumblr-downloader.go

-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ func downloadURL(URL string, SubDir string, AppendExtension string) {
170170
_, err := os.Stat(outputFilePath)
171171
if os.IsNotExist(err) {
172172
resp, err := http.Get(URL)
173-
checkError(err)
174-
175173

176174
outFile, err := os.Create(outputFilePath)
177175
checkError(err)

0 commit comments

Comments
 (0)