mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects.
This commit is contained in:
parent
bbba695380
commit
0a394929b7
7 changed files with 146 additions and 45 deletions
|
|
@ -175,8 +175,8 @@ class TypeClass(object):
|
|||
dbobj.dbid,
|
||||
dbobj.typeclass_path,))
|
||||
|
||||
def __str__(self):
|
||||
"represent the object"
|
||||
return self.key
|
||||
def __unicode__(self):
|
||||
return u"%s" % self.key
|
||||
# def __str__(self):
|
||||
# "represent the object"
|
||||
# return _GA(self, "key")
|
||||
# def __unicode__(self):
|
||||
# return u"%s" % _GA(self, "key")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue