bug fixes ...

v2.4
Steve Nyemba 13 hours ago
parent 5ee0186e58
commit 0fd29207cf

@ -134,7 +134,7 @@ def instance (**_args):
_logger = None _logger = None
_kwargs = {'agent':_agent,'plugins':_plugins,'logger':_logger} _kwargs = {'agent':_agent,'plugins':_plugins,'logger':_logger}
if 'args' in _args : 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(_agent,_plugins,_logger) if _context == 'read' else IWriter(_agent,_plugins,_logger)
_datatransport = IReader(**_kwargs) if _context == 'read' else IWriter(**_kwargs) _datatransport = IReader(**_kwargs) if _context == 'read' else IWriter(**_kwargs)
return _datatransport return _datatransport

Loading…
Cancel
Save