Merge branch 'load-fix' of dan/cwtch into master

This commit is contained in:
Sarah Jamie Lewis 2018-08-05 03:45:12 +00:00 committed by Gogs
commit a459758070
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
}