From e01514d23f673adbfcc714a2b81b340fd7e321bc Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sun, 15 Jul 2018 11:30:14 +0200 Subject: [PATCH] Fixed cache path. --- getarticles.go | 1 - 1 file changed, 1 deletion(-) diff --git a/getarticles.go b/getarticles.go index 26fd710..a93a47f 100644 --- a/getarticles.go +++ b/getarticles.go @@ -72,7 +72,6 @@ func getArticles(feedURL string, max int) (string, error) { // ToDo: cachePath should probably be moved to ~/.cache/feed-to-muc h := fnv.New32a() h.Write([]byte(feedURL)) - cachePath = cachePath + "cache/" if _, err := os.Stat(cachePath); os.IsNotExist(err) { err = os.MkdirAll(cachePath, 0700) if err != nil {