From d0f0e98b0e880cb35656b6a72e026f4fdee8f769 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 20 Aug 2010 01:12:43 +0800 Subject: [PATCH] wix: unicode fixes in contact list --- frontends/wix/contact_list.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontends/wix/contact_list.py b/frontends/wix/contact_list.py index 1b2652f1..c6d249f7 100644 --- a/frontends/wix/contact_list.py +++ b/frontends/wix/contact_list.py @@ -5,10 +5,10 @@ from cgi import escape from tools.jid import JID -class Group(str): +class Group(unicode): """Class used to recognize groups""" -class Contact(str): +class Contact(unicode): """Class used to recognize groups""" class ContactList(wx.SimpleHtmlListBox, QuickContactList): @@ -75,7 +75,7 @@ class ContactList(wx.SimpleHtmlListBox, QuickContactList): def __presentGroup(self, group): """Make a nice presentation for the contact groups""" - html = """-- [%s] --""" % group + html = u"""-- [%s] --""" % group return html