X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=buddy.pyx;h=843069f0eade181f659bfebce69ce7f077bf9686;hp=3ccc1001c86a50e33d189935edd8bbeaa5386d79;hb=404f5754a028f1ddc4f812fca8e841f62d288ce7;hpb=c2ebf96eec6b90289e9fde5e964a23c12f0e64eb;ds=sidebyside 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)