Browse Source

app add app directory path to filename to load

pull/103/head
Dan Ballard 1 year ago
parent
commit
da37046658
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/app.go

+ 1
- 1
app/app.go View File

@@ -70,7 +70,7 @@ func (app *Application) startTor(torPath string) error {

// SetProfile loads an existing profile from the given filename.
func (app *Application) SetProfile(filename string, password string) error {
profile, err := peer.LoadCwtchPeer(filename, password)
profile, err := peer.LoadCwtchPeer(path.Join(app.directory, filename), password)
if err != nil {
return err
}


Loading…
Cancel
Save