remove __format__ from Client (blocks using .format())
This commit is contained in:
parent
63d3f69c3c
commit
5ea493329d
|
@ -115,9 +115,6 @@ class Client:
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return '<{},{}>'.format(self.identifier, self.nick)
|
return '<{},{}>'.format(self.identifier, self.nick)
|
||||||
|
|
||||||
def __format__(self):
|
|
||||||
return self.__str__()
|
|
||||||
|
|
||||||
def __getitem__(self, item):
|
def __getitem__(self, item):
|
||||||
return {
|
return {
|
||||||
'identifier': self.identifier,
|
'identifier': self.identifier,
|
||||||
|
|
Loading…
Reference in New Issue