Representation of Citizen class
This commit is contained in:
parent
5556d5f772
commit
d9305214eb
@ -111,6 +111,10 @@ class Citizen(CitizenAPI):
|
||||
def __str__(self) -> str:
|
||||
return f"Citizen {self.name}"
|
||||
|
||||
def __repr__(self):
|
||||
return self.__str__()
|
||||
|
||||
|
||||
def __dict__(self):
|
||||
ret = super().__dict__.copy()
|
||||
ret.pop('stop_threads', None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user