mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
Merge pull request #3623 from Machine-Garden-MUD/master
Fix for #3622 - check if attr.strvalue exists
This commit is contained in:
commit
a3a433dc89
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class IAttribute:
|
|||
return LockHandler(self)
|
||||
|
||||
key = property(lambda self: self.db_key)
|
||||
strvalue = property(lambda self: self.db_strvalue)
|
||||
strvalue = property(lambda self: getattr(self, 'db_strvalue', None))
|
||||
category = property(lambda self: self.db_category)
|
||||
model = property(lambda self: self.db_model)
|
||||
attrtype = property(lambda self: self.db_attrtype)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue