From 899db5c0368e5d4e3c04ddfb618c4e38ee1ae5da Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Fri, 17 Jun 2022 00:17:00 -0500 Subject: [PATCH] bug fixes --- data/maker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/maker/__init__.py b/data/maker/__init__.py index 541db37..2d1e1f8 100644 --- a/data/maker/__init__.py +++ b/data/maker/__init__.py @@ -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') :