diff --git a/src/sshare/cli.py b/src/sshare/cli.py index cc93ecb..135a263 100644 --- a/src/sshare/cli.py +++ b/src/sshare/cli.py @@ -58,13 +58,13 @@ class Config: sys.exit(1) self.ssh_port = ssh.get("port") self.ssh_user = ssh.get("user") - self.ssh_path = ssh.get("directory") + self.ssh_path = ssh.get("path") if self.ssh_port == None: self.ssh_port = 22 if self.ssh_user == None: self.ssh_user = getpass.getuser() if self.ssh_path == None: - print("Error: 'ssh.directory' cannot be 'None'") + print("Error: 'ssh.path' cannot be 'None'") sys.exit(1) def _load_from_file(self, config_path):