Fix UnicodeEncodeError in debug mode with Python 2
This commit is contained in:
parent
f209573d04
commit
992d35ec87
|
@ -132,4 +132,4 @@ class Client(object):
|
|||
self.bans += 1
|
||||
|
||||
def __str__(self):
|
||||
return '<{},{}>'.format(self.identifier, self.nick)
|
||||
return u'<{},{}>'.format(self.identifier, self.nick)
|
||||
|
|
Loading…
Reference in New Issue