From ecae58b1a50a9d6d51c0d82f6c292c952fbf18f8 Mon Sep 17 00:00:00 2001 From: "Marcel M. Otte" Date: Mon, 2 Oct 2023 17:47:53 +0200 Subject: [PATCH] Just changed the subdirectory of cop --- cop/collection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cop/collection.go b/cop/collection.go index fb3a0a4..c13a7b0 100644 --- a/cop/collection.go +++ b/cop/collection.go @@ -37,7 +37,7 @@ func Init() *ProtocolCollectionList { log.Printf("Current user not obtainable: %s", err) log.Fatal("Impossible to open default database") } - pathlist := []string{user.HomeDir, ".config", "ppforge"} + pathlist := []string{user.HomeDir, ".config", "ppforge", "cop"} fdb := FileCOP{COP{map[string]ProtocolCollectionEntry{}, false}, path.Join(pathlist...)} fdb.Open(path.Join(pathlist...)) fdb.UpdateCollection()