wix: unicode fixes in contact list

This commit is contained in:
Goffi 2010-08-20 01:12:43 +08:00
commit d0f0e98b0e

View file

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