From 7b401e28b86442b2d1a0b4aa3a0cb9884599dea7 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Fri, 10 Nov 2017 14:29:40 -0700 Subject: [PATCH] Forgot to open the correct file --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a6b4205..d31b54f 100644 --- a/main.go +++ b/main.go @@ -119,7 +119,7 @@ func main() { content []byte ) - T, err = os.Open(file.Name()) + T, err = os.Open(path.Join(cfgPath, file.Name())) if err != nil { panic(err) }