From 992d35ec87fdbd0ea39407e23517f41df8d3c352 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Mon, 15 May 2017 22:47:04 +0200 Subject: [PATCH] Fix UnicodeEncodeError in debug mode with Python 2 --- tsstats/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsstats/client.py b/tsstats/client.py index 057e4b9..aa8b7d6 100644 --- a/tsstats/client.py +++ b/tsstats/client.py @@ -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)