X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=buddy.pyx;h=843069f0eade181f659bfebce69ce7f077bf9686;hp=3ccc1001c86a50e33d189935edd8bbeaa5386d79;hb=3d5b083b2e92e574494141cc17c47200e39bcb59;hpb=9dba02b95bb6bf55147c51fca9477a3d9ae4b3f0 diff --git a/buddy.pyx b/buddy.pyx index 3ccc100..843069f 100644 --- a/buddy.pyx +++ b/buddy.pyx @@ -67,7 +67,7 @@ cdef class Buddy: c_alias = blist.purple_buddy_get_alias_only( \ self._get_structure()) if c_alias: - return c_alias + return unicode(c_alias, 'utf-8') else: return None alias = property(__get_alias)