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

Removed Person constructor and use from_metadata instead

parent 939c3d88
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,8 @@ class WotTabWidget(QWidget, Ui_WotTabWidget): ...@@ -58,7 +58,8 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
# create Person from node metadata # create Person from node metadata
person = Person.from_metadata(metadata) person = Person.from_metadata(metadata)
person_account = Person(self.account.name, self.account.pubkey) person_account = Person.from_metadata({'text':self.account.name,
'id':self.account.pubkey})
certifier_list = person.certifiers_of(self.community) certifier_list = person.certifiers_of(self.community)
certified_list = person.certified_by(self.community) certified_list = person.certified_by(self.community)
......
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