From f1c89f0917b32056bdf78740553cc40a9b2e290f Mon Sep 17 00:00:00 2001 From: shortcutme Date: Wed, 5 Sep 2018 14:31:26 +0200 Subject: [PATCH] Stats page show peer reputation --- plugins/Stats/StatsPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Stats/StatsPlugin.py b/plugins/Stats/StatsPlugin.py index 38920de8..017d0504 100644 --- a/plugins/Stats/StatsPlugin.py +++ b/plugins/Stats/StatsPlugin.py @@ -212,7 +212,7 @@ class UiRequestPlugin(object): if site.content_manager.has_optional_files: yield "Optional files: %4s " % len(peer.hashfield) time_added = (time.time() - peer.time_added) / (60 * 60 * 24) - yield "(#%4s, err: %s, found: %3s min, add: %.1f day) %30s -
" % (connection_id, peer.connection_error, time_found, time_added, key) + yield "(#%4s, rep: %2s, err: %s, found: %3s min, add: %.1f day) %30s -
" % (connection_id, peer.reputation, peer.connection_error, time_found, time_added, key) yield "
" yield ""