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