From f2704c6ce0a3869ee61fc4250db9cdaaa62a43d7 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 16 Jan 2017 11:34:32 -0500 Subject: [PATCH] cli: oops, fix ssh args wish there were some tests for this --- src/wormhole/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/cli/cli.py b/src/wormhole/cli/cli.py index 64a33ed..33e7442 100644 --- a/src/wormhole/cli/cli.py +++ b/src/wormhole/cli/cli.py @@ -294,7 +294,7 @@ def ssh_accept(cfg, code, key_file, yes, **kwargs): """ for name, value in kwargs.items(): - setattr(cfg.obj, name, value) + setattr(cfg, name, value) from . import cmd_ssh kind, keyid, pubkey = cmd_ssh.find_public_key(key_file) print("Sending public key type='{}' keyid='{}'".format(kind, keyid))