mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 00:06:30 +01:00
Fixed a type - get_attribute_cache() should be get_attr_cache()
This commit is contained in:
parent
8654d8cc48
commit
d55bee8905
3 changed files with 570 additions and 485 deletions
|
|
@ -1342,7 +1342,7 @@ class TypedObject(SharedMemoryModel):
|
|||
"""
|
||||
Get the actual attribute object named attribute_name
|
||||
"""
|
||||
attrib_obj = get_attribute_cache(self, attribute_name)
|
||||
attrib_obj = get_attr_cache(self, attribute_name)
|
||||
if not attrib_obj:
|
||||
attrib_obj = _GA(self, "_attribute_class").objects.filter(
|
||||
db_obj=self).filter(db_key__iexact=attribute_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue