bug fixes
This commit is contained in:
parent
d89daf76d6
commit
899db5c036
|
@ -70,7 +70,7 @@ class Learner(Process):
|
|||
_context = self.info['context']
|
||||
_label = self.info['info'] if 'info' in self.info else _context
|
||||
logger = transport.factory.instance(**self.store['logger']) if 'logger' in self.store else transport.factory.instance(provider='console',context='write',lock=True)
|
||||
_args = dict({'ndx':self.ndx,'module':self.name,'table':self.info['from'],'context':_context,'info':_info,**_args})
|
||||
_args = dict({'ndx':self.ndx,'module':self.name,'table':self.info['from'],'context':_context,'info':_label,**_args})
|
||||
logger.write(_args)
|
||||
self.ndx += 1
|
||||
if hasattr(logger,'close') :
|
||||
|
|
Loading…
Reference in New Issue