fix cli load-profile #103

Merged
sarah merged 1 commits from dan/cwtch:load-fix into master 2018-08-05 03:45:12 +00:00
1 changed files with 1 additions and 1 deletions

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
}