Fix UnicodeEncodeError in debug mode with Python 2

This commit is contained in:
Thor77 2017-05-15 22:47:04 +02:00
parent f209573d04
commit 992d35ec87
1 changed files with 1 additions and 1 deletions

View File

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