Fixed minor bugs
This commit is contained in:
@@ -87,7 +87,7 @@ class PythonEvaluator(OneReturnValueEvaluator):
|
||||
evaluated = context.sheerka.evaluate_concept(sub_context, concept, self.verbose_log)
|
||||
|
||||
if evaluated.key == concept.key:
|
||||
my_locals[name] = evaluated.body or evaluated # if ConceptParts.BODY not in evaluated.cached_asts else evaluated
|
||||
my_locals[name] = evaluated.body if ConceptParts.BODY in evaluated.cached_asts else evaluated
|
||||
|
||||
return my_locals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user