mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
Some command bugfixes. Added some more debug messages for pinning down issue101.
This commit is contained in:
parent
27b7570aab
commit
164eb5b89b
5 changed files with 89 additions and 69 deletions
|
|
@ -480,7 +480,7 @@ class TypedObject(SharedMemoryModel):
|
|||
attribute_model_name = "Attribute"
|
||||
|
||||
def __eq__(self, other):
|
||||
return other and self.id == other.id
|
||||
return other and hasattr(other, 'id') and self.id == other.id
|
||||
|
||||
def __str__(self):
|
||||
return smart_str("%s" % self.key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue