From a30122daccfc72385e487f621db6cb4ccec03da7 Mon Sep 17 00:00:00 2001 From: Ardhi Putra Pratama H Date: Sat, 2 Jul 2016 06:22:26 +0200 Subject: [PATCH] Refactor GUI to cope with GUIDBTuples removal --- Tribler/Main/vwxGUI/CreditMiningPanel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tribler/Main/vwxGUI/CreditMiningPanel.py b/Tribler/Main/vwxGUI/CreditMiningPanel.py index b6b5e64afb8..e4477bf65a9 100644 --- a/Tribler/Main/vwxGUI/CreditMiningPanel.py +++ b/Tribler/Main/vwxGUI/CreditMiningPanel.py @@ -382,9 +382,9 @@ def show_source_info(self, data): self.source_label.SetLabel("Source : Channel (stored)") self.source_name.SetLabel("Name : " + data.get_source_text()) - self.torrent_num.SetLabel("# Torrents : " + str(data.channel.nr_torrents)) - self.last_updt.SetLabel("Latest update : " + format_time(data.channel.modified)) - self.votes_num.SetLabel('Favorite votes : ' + str(data.channel.nr_favorites)) + self.torrent_num.SetLabel("# Torrents : " + str(data.channel_dict[4])) + self.last_updt.SetLabel("Latest update : " + format_time(data.channel_dict[8])) + self.votes_num.SetLabel('Favorite votes : ' + str(data.channel_dict[5])) self.status_cm.SetLabel("Active" if data.enabled else "Inactive") debug_str = hexlify(data.source)