From: W. Trevor King Date: Sat, 20 Oct 2012 18:48:10 +0000 (-0400) Subject: crypt: fix socket_path fallback (to SOCKET_PATH) in get_client(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6eba4dd737460db37d07a0e7f531f33a068e6e38;p=pgp-mime.git crypt: fix socket_path fallback (to SOCKET_PATH) in get_client(). --- 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,