mirror of
https://salsa.debian.org/mdosch/feed-to-muc.git
synced 2024-11-10 00:06:49 +01:00
Fixed cache path.
This commit is contained in:
parent
1db063759b
commit
e01514d23f
1 changed files with 0 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue