From a55c1e58445c22b795d8cdc597c19ecce0920908 Mon Sep 17 00:00:00 2001 From: Davin Shearer Date: Fri, 10 Sep 2021 17:03:31 -0400 Subject: [PATCH] fix: private key pass configuration Simple fixup of the private key pass configuration handling. --- durasftp/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/durasftp/__main__.py b/durasftp/__main__.py index 5d91086..b36826e 100644 --- a/durasftp/__main__.py +++ b/durasftp/__main__.py @@ -16,7 +16,7 @@ def main(args): auth_args = {} if args.private_key is not None: auth_args["private_key"] = args.private_key - if args.private_key is not None: + if args.private_key_pass is not None: auth_args["private_key_pass"] = args.private_key_pass if args.password is not None: auth_args["password"] = args.password