From 0fd29207cf023fb30a1bfd697ab85a552cd1bed6 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 26 Nov 2024 19:39:37 -0600 Subject: [PATCH] bug fixes ... --- transport/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/__init__.py b/transport/__init__.py index 4539699..d9070db 100644 --- a/transport/__init__.py +++ b/transport/__init__.py @@ -134,7 +134,7 @@ def instance (**_args): _logger = None _kwargs = {'agent':_agent,'plugins':_plugins,'logger':_logger} if 'args' in _args : - _kwargs['args'] = _kwargs['args'] + _kwargs['args'] = _args['args'] # _datatransport = IReader(_agent,_plugins,_logger) if _context == 'read' else IWriter(_agent,_plugins,_logger) _datatransport = IReader(**_kwargs) if _context == 'read' else IWriter(**_kwargs) return _datatransport