[-] print

This commit is contained in:
Maxim Khomutov 2025-03-23 04:19:19 +03:00
parent f26cc65c7f
commit 2a3eca2c31

View File

@ -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("__"): # Проверяем системные атрибуты