Fixed #63 : bug is smart_get_attr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user