From f52eddfd42d71beef85cbe771d4441c4bf9f351d Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Mon, 9 Mar 2015 20:08:09 +0100
Subject: [PATCH] Removed Person constructor and use from_metadata instead

---
 src/cutecoin/gui/wot_tab.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cutecoin/gui/wot_tab.py b/src/cutecoin/gui/wot_tab.py
index b8a2321e..723cd2e8 100644
--- a/src/cutecoin/gui/wot_tab.py
+++ b/src/cutecoin/gui/wot_tab.py
@@ -58,7 +58,8 @@ class WotTabWidget(QWidget, Ui_WotTabWidget):
 
         # create Person from node 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)
         certified_list = person.certified_by(self.community)
 
-- 
GitLab