diff options
Diffstat (limited to 'cmd/senpai/main.go')
-rw-r--r-- | cmd/senpai/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/senpai/main.go b/cmd/senpai/main.go index 5f7933d..d428ccf 100644 --- a/cmd/senpai/main.go +++ b/cmd/senpai/main.go @@ -5,6 +5,7 @@ import ( "log" "math/rand" "os" + "path" "time" "git.sr.ht/~taiite/senpai" @@ -29,7 +30,7 @@ func main() { if err != nil { log.Panicln(err) } - configPath = configDir + "/senpai/senpai.yaml" + configPath = path.Join(configDir, "senpai", "senpai.yaml") } cfg, err := senpai.LoadConfigFile(configPath) |