From 6eba4dd737460db37d07a0e7f531f33a068e6e38 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 20 Oct 2012 14:48:10 -0400 Subject: [PATCH] crypt: fix socket_path fallback (to SOCKET_PATH) in get_client(). --- pgp_mime/crypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgp_mime/crypt.py b/pgp_mime/crypt.py index 7ba09c6..57cfb77 100644 --- a/pgp_mime/crypt.py +++ b/pgp_mime/crypt.py @@ -55,7 +55,7 @@ def get_client_params(config): def get_client(socket_path=None): if socket_path is None: - socket_path = socket_path + socket_path = SOCKET_PATH logger = _logging.getLogger('{}.{}'.format(_LOG.name, 'pyassuan')) client = _client.AssuanClient( name='pgp-mime', logger=logger, use_sublogger=False, -- 2.26.2