1
0
Fork 0
mirror of https://github.com/Thor77/TeamspeakStats.git synced 2025-07-07 16:08:43 -04:00

remove __format__ from Client (blocks using .format())

This commit is contained in:
Thor77 2015-07-31 22:15:19 +02:00
parent 63d3f69c3c
commit 5ea493329d

View file

@ -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,