This commit is contained in:
parent
f26cc65c7f
commit
2a3eca2c31
@ -21,7 +21,6 @@ class NestedAccessor:
|
||||
|
||||
def __getattr__(self, item):
|
||||
key = ".".join((*self.key_chain, item))
|
||||
print(key, key in self.parent.locale)
|
||||
if key in self.parent.locale:
|
||||
return self.parent.get_phrase(key)
|
||||
if item.startswith("__"): # Проверяем системные атрибуты
|
||||
|
Loading…
x
Reference in New Issue
Block a user