Skip to content
Snippets Groups Projects
Commit 034c58c4 authored by inso's avatar inso
Browse files

Fixed a bug due to last API changes

parent 17e4b163
No related branches found
No related tags found
No related merge requests found
......@@ -285,9 +285,10 @@ class Person(object):
# convert api data to certifiers list
certifiers = list()
# add certifiers of uid
for certifier in data['results'][0]['uids'][0]['others']:
# for each uid found for this pubkey...
for uid in certifier['uids']:
for result in data['results']:
if result["pubkey"] == self.pubkey:
for certifier in [uid['others'] for uid in result['uids']]:
# add a certifier
certifier['uid'] = uid
certifier['cert_time'] = dict()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment