From 2939cb90b7ea3e7615a799e06c07d960bff12a88 Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 May 2020 09:45:04 -0700 Subject: [PATCH] Issue #108 - Pull all attributes from kwargs and config --- ait/dsn/sle/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ait/dsn/sle/common.py b/ait/dsn/sle/common.py index 84f5e44..3740b2b 100644 --- a/ait/dsn/sle/common.py +++ b/ait/dsn/sle/common.py @@ -110,7 +110,8 @@ def __init__(self, *args, **kwargs): kwargs.get('initiator_id', 'LSE')) self._responder_id = ait.config.get('dsn.sle.responder_id', kwargs.get('responder_id', 'SSE')) - self._password = ait.config.get('dsn.sle.password', None) + self._password = ait.config.get('dsn.sle.password', + kwargs.get('password', None)) self._peer_password = ait.config.get('dsn.sle.peer_password', kwargs.get('peer_password', None)) self._responder_port = ait.config.get('dsn.sle.responder_port',