From de0b93001cedc72b9648a7022aaebcd3652867ce Mon Sep 17 00:00:00 2001 From: lordwelch Date: Sat, 6 Jan 2018 18:39:56 -0700 Subject: [PATCH] Wrong type --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2a9fe8e..e060031 100644 --- a/main.go +++ b/main.go @@ -173,7 +173,7 @@ func removeDownloads(hash []string) { if err != nil { panic(err) } - thash := make([]string, len(hash)) + thash := make([]*transmission.Torrent, len(hash)) // Removes torrents from transmission that are not selected this time for _, CHash := range hash { v, ok := tmap[CHash]