* src/PeopleStore.py: Make sure that the key is in unicode

format. For some reason, python does not always seem to do the
conversion for us.


svn: r2275
This commit is contained in:
Don Allingham 2003-10-22 02:17:58 +00:00
parent 2f99f02e5f
commit 88bc403a84

View File

@ -229,6 +229,8 @@ class PeopleStore:
self.parent.parent.modify_statusbar() self.parent.parent.modify_statusbar()
def fill_row(self,name,iter=None): def fill_row(self,name,iter=None):
name = unicode(name)
if not iter: if not iter:
iter = self.tree_roots[name] iter = self.tree_roots[name]
child = self.model.iter_children(iter) child = self.model.iter_children(iter)