From d2870d82071cac64e3a818444e4418f73fb4ef2e Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 4 Jul 2019 18:46:15 -0400 Subject: [PATCH] if we didn't convert image, don't save data --- activity.go | 1 + 1 file changed, 1 insertion(+) diff --git a/activity.go b/activity.go index 9857eef..6e14100 100644 --- a/activity.go +++ b/activity.go @@ -175,6 +175,7 @@ func savedonk(url string, name, media string, localize bool) *Donk { if err != nil { log.Printf("unable to decode image: %s", err) localize = false + data = []byte{} goto saveit } data = img.Data