Change default config path
1 files changed, 2 insertions(+), 2 deletions(-) M types.go
M types.go => types.go +2 -2
@@ 50,12 50,12 @@ func (a Account) User(card string) string { func ParseConfig(path string) (config Config, err error) { // default config path if path == "" { configpath, err := os.UserConfigDir() configpath, err := os.UserHomeDir() if err != nil { return config, err } path = filepath.Join(configpath, "pfin", "statements", "config.toml") path = filepath.Join(configpath, "statements", "config.toml") } data, err := os.ReadFile(path)