fixes #102 #104

Closed
kardan wants to merge 1 commits from kardan/cwtch:fix-102 into master
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
}