mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Fixed a regression in has_attribute caused by changing the location of caches. Resolves Issue 328.
This commit is contained in:
parent
82e57d4ada
commit
e4382e3e8a
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ def get_attr_cache(obj, attrname):
|
|||
"""
|
||||
Attribute cache store
|
||||
"""
|
||||
return _ATTR_CACHE[hashid(obj)].get(attrname)
|
||||
return _ATTR_CACHE[hashid(obj)].get(attrname, None)
|
||||
|
||||
def set_attr_cache(obj, attrname, attrobj):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue