Just changed the subdirectory of cop
This commit is contained in:
parent
09d4b338d2
commit
ecae58b1a5
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue