app add app directory path to filename to load

Esse commit está contido em:
Dan Ballard 2018-08-04 18:34:34 -05:00
commit da37046658
1 arquivos alterados com 1 adições e 1 exclusões

Ver arquivo

@ -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
}