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()