v2.4
Steve Nyemba 11 hours ago
parent dc9329218a
commit 541ae41786

@ -136,7 +136,7 @@ def instance (**_args):
if 'args' in _args : if 'args' in _args :
_kwargs['args'] = _kwargs['args'] _kwargs['args'] = _kwargs['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
else: else:

Loading…
Cancel
Save