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

Commit

Permalink
Ignore if remote file is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
neuro-sys committed Dec 7, 2018
1 parent ca32a69 commit 0c3ddae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tumblr-downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ func downloadURL(URL string, SubDir string, AppendExtension string) {
_, err := os.Stat(outputFilePath)
if os.IsNotExist(err) {
resp, err := http.Get(URL)
checkError(err)


outFile, err := os.Create(outputFilePath)
checkError(err)
Expand Down

0 comments on commit 0c3ddae

Please sign in to comment.