Checking for the / at the back

This commit is contained in:
aditya-K2
2021-12-13 00:15:16 +05:30
parent 73aebcd0a0
commit 75d5d13fbe
2 changed files with 5 additions and 2 deletions

4
cache/cache.go vendored
View File

@@ -5,6 +5,8 @@ import (
"fmt"
"os"
"strings"
"github.com/aditya-K2/goMP/config"
)
var (
@@ -13,7 +15,7 @@ var (
)
func SetCacheDir(path string) {
CACHE_DIR = path
CACHE_DIR = config.CheckDirectoryFmt(path)
}
func Exists(artist, album string) bool {