Stats page show peer reputation

This commit is contained in:
shortcutme 2018-09-05 14:31:26 +02:00
parent 8692ea1a74
commit f1c89f0917
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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 -<br>" % (connection_id, peer.connection_error, time_found, time_added, key)
yield "(#%4s, rep: %2s, err: %s, found: %3s min, add: %.1f day) %30s -<br>" % (connection_id, peer.reputation, peer.connection_error, time_found, time_added, key)
yield "<br></td></tr>"
yield "</table>"