Update download.go
This commit is contained in:
parent
4088e2baf1
commit
ae19866d59
|
@ -123,8 +123,7 @@ func downloadPost(post *e621.Post, directory string) error {
|
|||
|
||||
if _, err := os.Stat(savePath); err == nil {
|
||||
fmt.Print("File exists, skip...\n")
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
resp, err := e621.HTTPGet(post.File.URL)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue