From c0ac18fcc8ffcd3f788d9eb69f63adee2be50e4f Mon Sep 17 00:00:00 2001 From: Micah Teeuws Date: Wed, 17 Jan 2024 19:29:34 +0300 Subject: [PATCH] Update main.go --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 5dcfdd6..2925ac9 100644 --- a/main.go +++ b/main.go @@ -8,6 +8,7 @@ import ( "os" "strconv" "strings" + "path/filepath" ) func GetPlayer(text string) string { @@ -74,7 +75,7 @@ func main() { for _, file := range files { if !file.IsDir() { fmt.Println(file.Name()) - ProcessFile(file.Name()) + ProcessFile(filepath.Join(".", "raw", file.Name())) } } }