From eb0b08a554339d6e441293f05a6592cff4085d32 Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Fri, 1 May 2015 15:17:19 +0200 Subject: [PATCH] Fix a bug when searching persons --- src/cutecoin/gui/community_tab.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 7aa26253..ef0995bd 100644 --- a/src/cutecoin/gui/community_tab.py +++ b/src/cutecoin/gui/community_tab.py @@ -227,8 +227,9 @@ The process to join back the community later will have to be done again.""") return False persons = [] + logging.debug(response) for identity in response['results']: - persons.append(identity['pubkey']) + persons.append(Person.lookup(identity['pubkey'], self.community)) self.edit_textsearch.clear() self.refresh(persons) -- GitLab