Made XTERM256 properly range between 0-5 (it was erroneously capped at 1-5 which mean the darkest values
of the colour cube were unreachable). Fixed some issues with the lock caching.
This commit is contained in:
parent
73ff2afc78
commit
ed6def0c88
4 changed files with 32 additions and 17 deletions
|
|
@ -257,10 +257,10 @@ class PlayerDB(TypedObject):
|
|||
#
|
||||
|
||||
def __str__(self):
|
||||
return smart_str("%s(player %i)" % (self.name, self.dbid))
|
||||
return smart_str("%s(player %s)" % (self.name, self.dbid))
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%s(player#%i)" % (self.name, self.dbid)
|
||||
return u"%s(player#%s)" % (self.name, self.dbid)
|
||||
|
||||
# this is required to properly handle attributes and typeclass loading
|
||||
_typeclass_paths = settings.PLAYER_TYPECLASS_PATHS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue