diff options
Diffstat (limited to 'src/user.py')
-rw-r--r-- | src/user.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/user.py b/src/user.py index c0a55d7b..5dbe77ce 100644 --- a/src/user.py +++ b/src/user.py @@ -59,5 +59,6 @@ class User(object): return True def __repr__(self): - return "<user.User object nick:%s show:%s(%s) status:%s affiliation:%s>"\ - % (self.nick, self.show, type(self.show), self.status, self.affiliation) + return ">%s<" % (self.nick.decode('utf-8')) + # return "<user.User object nick:%s show:%s(%s) status:%s affiliation:%s>"\ + # % (self.nick.decode('utf-8'), self.show, type(self.show), self.status, self.affiliation) |