Show XYZRoom typeclass in repr() return
This commit is contained in:
parent
6dee18b989
commit
9cec254196
2 changed files with 4 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ class XYZRoom(DefaultRoom):
|
|||
|
||||
def __repr__(self):
|
||||
x, y, z = self.xyz
|
||||
return f"<XYZRoom '{self.db_key}', XYZ=({x},{y},{z})>"
|
||||
return f"<{self.__class__.__name__} '{self.db_key}', XYZ=({x},{y},{z})>"
|
||||
|
||||
@property
|
||||
def xyz(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue