Fixed #63 : bug is smart_get_attr

This commit is contained in:
2021-04-09 16:16:02 +02:00
parent dd3d8f4abe
commit 81e67147e9
2 changed files with 20 additions and 1 deletions
@@ -441,7 +441,7 @@ class SheerkaConceptManager(BaseService):
:param concept_to_look_for:
:return:
"""
while c.body is not NotInit:
while isinstance(c, Concept) and c.body is not NotInit:
if self.sheerka.isinstance(c.body, concept_to_look_for):
return c.body
c = c.body