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

Fixed Person conqreuctor usage

parent 5d569518
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ class Graph(object): ...@@ -87,7 +87,7 @@ class Graph(object):
node = self._graph[pubkey] node = self._graph[pubkey]
if node['id'] in tuple(done): if node['id'] in tuple(done):
continue continue
person_selected = Person(node['text'], node['id']) person_selected = Person.from_metadata(node)
certifier_list = person_selected.certifiers_of(self.community) certifier_list = person_selected.certifiers_of(self.community)
self.add_certifier_list(certifier_list, person_selected, person) self.add_certifier_list(certifier_list, person_selected, person)
if person.pubkey in tuple(self._graph.keys()): if person.pubkey in tuple(self._graph.keys()):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment