diff --git a/tsstats/client.py b/tsstats/client.py index aa8b7d6..d56259e 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -132,4 +132,4 @@ class Client(object): self.bans += 1 def __str__(self): - return u'<{},{}>'.format(self.identifier, self.nick) + return u'<{}, {}>'.format(self.identifier, self.nick) diff --git a/tsstats/tests/test_client.py b/tsstats/tests/test_client.py index 3cdcc03..2f28661 100644 --- a/tsstats/tests/test_client.py +++ b/tsstats/tests/test_client.py @@ -30,10 +30,10 @@ def test_client_get(clients): def test_client_repr(clients): clients, _, _, _, _ = clients - assert str(clients['1']) == '<1,None>' - assert str(clients['2']) == '<2,None>' - assert str(clients['UID1']) == '' - assert str(clients['UID2']) == '' + assert str(clients['1']) == '<1, None>' + assert str(clients['2']) == '<2, None>' + assert str(clients['UID1']) == '' + assert str(clients['UID2']) == '' def test_clients_iter(clients):