Just changed the subdirectory of cop
Go / lint (push) Failing after 44s Details
Go / build (push) Failing after 2m21s Details

This commit is contained in:
Marcel M. Otte 2023-10-02 17:47:53 +02:00
parent 09d4b338d2
commit ecae58b1a5
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func Init() *ProtocolCollectionList {
log.Printf("Current user not obtainable: %s", err) log.Printf("Current user not obtainable: %s", err)
log.Fatal("Impossible to open default database") 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 := FileCOP{COP{map[string]ProtocolCollectionEntry{}, false}, path.Join(pathlist...)}
fdb.Open(path.Join(pathlist...)) fdb.Open(path.Join(pathlist...))
fdb.UpdateCollection() fdb.UpdateCollection()