diff --git a/app/app.go b/app/app.go index e24304b..f2beb32 100644 --- a/app/app.go +++ b/app/app.go @@ -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 }